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/codecs/wm8580.c | |
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/codecs/wm8580.c')
-rw-r--r-- | sound/soc/codecs/wm8580.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/wm8580.c b/sound/soc/codecs/wm8580.c index 9f6be3d31ac0..86c4b24db817 100644 --- a/sound/soc/codecs/wm8580.c +++ b/sound/soc/codecs/wm8580.c | |||
@@ -415,7 +415,7 @@ static int pll_factors(struct _pll_div *pll_div, unsigned int target, | |||
415 | unsigned int K, Ndiv, Nmod; | 415 | unsigned int K, Ndiv, Nmod; |
416 | int i; | 416 | int i; |
417 | 417 | ||
418 | pr_debug("wm8580: PLL %dHz->%dHz\n", source, target); | 418 | pr_debug("wm8580: PLL %uHz->%uHz\n", source, target); |
419 | 419 | ||
420 | /* Scale the output frequency up; the PLL should run in the | 420 | /* Scale the output frequency up; the PLL should run in the |
421 | * region of 90-100MHz. | 421 | * region of 90-100MHz. |
@@ -447,7 +447,7 @@ static int pll_factors(struct _pll_div *pll_div, unsigned int target, | |||
447 | 447 | ||
448 | if ((Ndiv < 5) || (Ndiv > 13)) { | 448 | if ((Ndiv < 5) || (Ndiv > 13)) { |
449 | printk(KERN_ERR | 449 | printk(KERN_ERR |
450 | "WM8580 N=%d outside supported range\n", Ndiv); | 450 | "WM8580 N=%u outside supported range\n", Ndiv); |
451 | return -EINVAL; | 451 | return -EINVAL; |
452 | } | 452 | } |
453 | 453 | ||