summary refs log tree commit diff
path: root/sound/soc/sof/intel/hda-dsp.c
diff options
context:
space:
mode:
authorCurtis Malainey <cujomalainey@chromium.org>2021-02-08 17:21:46 -0600
committerMark Brown <broonie@kernel.org>2021-02-10 17:17:11 +0000
commitce1f55bac5534aa518e26b94728173ee45f91a8c (patch)
tree1bd35bb6040dad671bdbb90748a2a77b5667271a /sound/soc/sof/intel/hda-dsp.c
parenta8f50cd9be7cc4c57f29c1390568225ebee90eda (diff)
downloadlinux-ce1f55bac5534aa518e26b94728173ee45f91a8c.tar.gz
ASoC: SOF: fix string format for errors
These are negative error return values, printing them as hex is annoying
and not beneficial. Switch back to signed type to make error lookup
simpler.

Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Daniel Baluta <daniel.baluta@gmail.com>
Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20210208232149.58899-3-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/intel/hda-dsp.c')
-rw-r--r--sound/soc/sof/intel/hda-dsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/sof/intel/hda-dsp.c b/sound/soc/sof/intel/hda-dsp.c
index e92e9750b720..72c0b8e9a196 100644
--- a/sound/soc/sof/intel/hda-dsp.c
+++ b/sound/soc/sof/intel/hda-dsp.c
@@ -732,7 +732,7 @@ int hda_dsp_resume(struct snd_sof_dev *sdev)
 				ret = snd_hdac_ext_bus_link_power_up(hlink);
 				if (ret < 0) {
 					dev_dbg(sdev->dev,
-						"error %x in %s: failed to power up links",
+						"error %d in %s: failed to power up links",
 						ret, __func__);
 					return ret;
 				}