Skip to content

Commit

Permalink
ASoC: wm_adsp: Log addresses as 8 digits in wm_adsp_buffer_populate
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Richard Fitzgerald authored and Mark Brown committed Oct 19, 2018
1 parent 2a2aefa commit e3a360b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/codecs/wm_adsp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit e3a360b

Please sign in to comment.