diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2009-05-27 20:08:39 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-05-28 05:20:26 -0400 |
commit | 449bd54dcbd0b60070ce4129fedaf0f4ae044099 (patch) | |
tree | 6904c4b60b5d8e0b781b9a4e04b7c12b52f0bfe8 /sound/soc/pxa | |
parent | ea8b27ad0cc2573776c6cd87617a37aaf603b8bd (diff) |
ASoC: correct print specifiers for unsigneds
Unsigned variables should use `%u' rather than `%d'.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/pxa')
-rw-r--r-- | sound/soc/pxa/pxa-ssp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/pxa/pxa-ssp.c b/sound/soc/pxa/pxa-ssp.c index 6fc787610ad7..19c45409d94c 100644 --- a/sound/soc/pxa/pxa-ssp.c +++ b/sound/soc/pxa/pxa-ssp.c | |||
@@ -208,7 +208,7 @@ static int pxa_ssp_set_dai_sysclk(struct snd_soc_dai *cpu_dai, | |||
208 | ~(SSCR0_ECS | SSCR0_NCS | SSCR0_MOD | SSCR0_ACS); | 208 | ~(SSCR0_ECS | SSCR0_NCS | SSCR0_MOD | SSCR0_ACS); |
209 | 209 | ||
210 | dev_dbg(&ssp->pdev->dev, | 210 | dev_dbg(&ssp->pdev->dev, |
211 | "pxa_ssp_set_dai_sysclk id: %d, clk_id %d, freq %d\n", | 211 | "pxa_ssp_set_dai_sysclk id: %d, clk_id %d, freq %u\n", |
212 | cpu_dai->id, clk_id, freq); | 212 | cpu_dai->id, clk_id, freq); |
213 | 213 | ||
214 | switch (clk_id) { | 214 | switch (clk_id) { |
@@ -357,7 +357,7 @@ static int pxa_ssp_set_dai_pll(struct snd_soc_dai *cpu_dai, | |||
357 | ssacd |= (0x6 << 4); | 357 | ssacd |= (0x6 << 4); |
358 | 358 | ||
359 | dev_dbg(&ssp->pdev->dev, | 359 | dev_dbg(&ssp->pdev->dev, |
360 | "Using SSACDD %x to supply %dHz\n", | 360 | "Using SSACDD %x to supply %uHz\n", |
361 | val, freq_out); | 361 | val, freq_out); |
362 | break; | 362 | break; |
363 | } | 363 | } |