ASoC: wm_adsp: Log addresses as 8 digits in wm_adsp_buffer_populate
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Fri, 19 Oct 2018 12:25:16 +0000 (13:25 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 19 Oct 2018 12:30:50 +0000 (13:30 +0100)
Increase the address value width in the debug log from 4 digits to
8 digits to allow for DSP cores with larger memory address ranges.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm_adsp.c

index 7ae10c6..a53dc17 100644 (file)
@@ -3345,7 +3345,7 @@ static int wm_adsp_buffer_populate(struct wm_adsp_compr_buf *buf)
                region->cumulative_size = offset;
 
                adsp_dbg(buf->dsp,
-                        "region=%d type=%d base=%04x off=%04x size=%04x\n",
+                        "region=%d type=%d base=%08x off=%08x size=%08x\n",
                         i, region->mem_type, region->base_addr,
                         region->offset, region->cumulative_size);
        }