Pierre-Louis Bossart 17f6433192
ASoC: rt711: remove warnings
cppcheck complains, use separate loop variable for sink and source ports

sound/soc/codecs/rt711-sdw.c:382:4: style: Variable 'i' is reassigned
a value before the old one has been used. [redundantAssignment]
 i = 0;
   ^
sound/soc/codecs/rt711-sdw.c:371:4: note: i is assigned
  i++;
   ^
sound/soc/codecs/rt711-sdw.c:382:4: note: i is overwritten
 i = 0;
   ^

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Rander Wang <rander.wang@linux.intel.com>
Link: https://lore.kernel.org/r/20201111214318.150529-4-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2020-11-12 15:15:53 +00:00
..
2020-10-12 16:08:57 +02:00
2020-08-21 10:07:54 -07:00
2020-07-09 13:01:29 +02:00
2020-01-28 16:26:57 -08:00
2020-11-12 15:15:53 +00:00
2020-01-05 16:15:13 +01:00
2020-01-05 16:14:46 +01:00
2020-10-23 13:59:05 -07:00
2019-08-08 08:18:32 +02:00