]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: intel: skl: Fix pin debug prints
authorTakashi Iwai <tiwai@suse.de>
Tue, 18 Feb 2020 11:17:35 +0000 (12:17 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 19 Feb 2020 13:36:14 +0000 (13:36 +0000)
commitca30c14e950fb435a6d7302e3ad568beab0d4c4e
treef71ca358a50fed07a50d87c5b272ec84d6990627
parentaa37bc9cab19dbed56824e19593b8ebeb3b8e45b
ASoC: intel: skl: Fix pin debug prints

skl_print_pins() loops over all given pins but it overwrites the text
at the very same position while increasing the returned length.
Fix this to show the all pin contents properly.

Fixes: e19d60e50b6a ("ASoC: Intel: Skylake: Debugfs facility to dump module config")
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Acked-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://lore.kernel.org/r/20200218111737.14193-2-tiwai@suse.de
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/skylake/skl-debug.c