Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ASoC: soc-acpi: improve log messagesin link_slaves_found()

use 'part_id' to follow MIPI/SoundWire wording and use more consistent
%#x format.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Rander Wang <rander.wang@intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20230731213242.434594-4-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Pierre-Louis Bossart and committed by
Mark Brown
cf35ab3d bb29a33c

+3 -3
+3 -3
sound/soc/soc-acpi.c
··· 181 181 unique_id = SDW_UNIQUE_ID(adr); 182 182 if (reported_part_count == 1 || 183 183 ids[j].id.unique_id == unique_id) { 184 - dev_dbg(dev, "found %x at link %d\n", part_id, link_id); 184 + dev_dbg(dev, "found part_id %#x at link %d\n", part_id, link_id); 185 185 break; 186 186 } 187 187 } else { 188 - dev_dbg(dev, "part %x reported %d expected %d on link %d, skipping\n", 188 + dev_dbg(dev, "part_id %#x reported %d expected %d on link %d, skipping\n", 189 189 part_id, reported_part_count, expected_part_count, link_id); 190 190 } 191 191 } 192 192 if (j == num_slaves) { 193 - dev_dbg(dev, "Slave %x not found\n", part_id); 193 + dev_dbg(dev, "Slave part_id %#x not found\n", part_id); 194 194 return false; 195 195 } 196 196 }