From: Pierre-Louis Bossart Date: Mon, 7 Aug 2023 21:09:59 +0000 (-0500) Subject: ASoC: SOF: Intel: hda-mlink: add sublink to dev_dbg() log X-Git-Tag: v6.6.17~3959^2^2~142^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=02c7f8729a5a1e78412177482372c3124edd4d62;p=platform%2Fkernel%2Flinux-rpi.git ASoC: SOF: Intel: hda-mlink: add sublink to dev_dbg() log When using more than one sublink for amplifier aggregation, we need to add the sublink info to debug the programming sequences. No functional change, only additional precisions in the log. Signed-off-by: Pierre-Louis Bossart Reviewed-by: Bard Liao Reviewed-by: Ranjani Sridharan Link: https://lore.kernel.org/r/20230807210959.506849-21-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown --- diff --git a/sound/soc/sof/intel/hda-mlink.c b/sound/soc/sof/intel/hda-mlink.c index 9fbbcc1744db..b592e687a87a 100644 --- a/sound/soc/sof/intel/hda-mlink.c +++ b/sound/soc/sof/intel/hda-mlink.c @@ -831,8 +831,8 @@ int hdac_bus_eml_sdw_map_stream_ch(struct hdac_bus *bus, int sublink, int y, val = readw(pcmsycm); - dev_dbg(bus->dev, "channel_mask %#x stream_id %d dir %d pcmscm %#x\n", - channel_mask, stream_id, dir, val); + dev_dbg(bus->dev, "sublink %d channel_mask %#x stream_id %d dir %d pcmscm %#x\n", + sublink, channel_mask, stream_id, dir, val); return 0; } EXPORT_SYMBOL_NS(hdac_bus_eml_sdw_map_stream_ch, SND_SOC_SOF_HDA_MLINK);