From: Amadeusz Sławiński Date: Tue, 27 Aug 2019 14:17:10 +0000 (+0200) Subject: ASoC: Intel: Skylake: Print module type instead of id X-Git-Tag: v5.15~5160^2~21^2~105 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0cc33cecb4a1de5b55d382b8e24a128a3551a031;p=platform%2Fkernel%2Flinux-starfive.git ASoC: Intel: Skylake: Print module type instead of id When we are printing module params, we were actually printing module id instead of type, but debug message was saying that number we get is type. So print module type, as it is useful when debugging paths, but also keep printing module id, as it is used in all other logs. Signed-off-by: Amadeusz Sławiński Link: https://lore.kernel.org/r/20190827141712.21015-5-amadeuszx.slawinski@linux.intel.com Reviewed-by: Pierre-Louis Bossart Signed-off-by: Mark Brown --- diff --git a/sound/soc/intel/skylake/skl-messages.c b/sound/soc/intel/skylake/skl-messages.c index d43496c..476ef18 100644 --- a/sound/soc/intel/skylake/skl-messages.c +++ b/sound/soc/intel/skylake/skl-messages.c @@ -867,8 +867,9 @@ static int skl_set_module_format(struct skl_dev *skl, } - dev_dbg(skl->dev, "Module type=%d config size: %d bytes\n", - module_config->id.module_id, param_size); + dev_dbg(skl->dev, "Module type=%d id=%d config size: %d bytes\n", + module_config->m_type, module_config->id.module_id, + param_size); print_hex_dump_debug("Module params:", DUMP_PREFIX_OFFSET, 8, 4, *param_data, param_size, false); return 0;