aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/s3c24xx/s3c-i2s-v2.c
diff options
context:
space:
mode:
authorRoel Kluin <roel.kluin@gmail.com>2009-05-27 20:08:39 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2009-05-28 05:20:26 -0400
commit449bd54dcbd0b60070ce4129fedaf0f4ae044099 (patch)
tree6904c4b60b5d8e0b781b9a4e04b7c12b52f0bfe8 /sound/soc/s3c24xx/s3c-i2s-v2.c
parentea8b27ad0cc2573776c6cd87617a37aaf603b8bd (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/s3c24xx/s3c-i2s-v2.c')
-rw-r--r--sound/soc/s3c24xx/s3c-i2s-v2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/s3c24xx/s3c-i2s-v2.c b/sound/soc/s3c24xx/s3c-i2s-v2.c
index 972c27684198..1a283170ca92 100644
--- a/sound/soc/s3c24xx/s3c-i2s-v2.c
+++ b/sound/soc/s3c24xx/s3c-i2s-v2.c
@@ -547,7 +547,7 @@ int s3c_i2sv2_iis_calc_rate(struct s3c_i2sv2_rate_calc *info,
547 actual = clkrate / (fsdiv * div); 547 actual = clkrate / (fsdiv * div);
548 deviation = actual - rate; 548 deviation = actual - rate;
549 549
550 printk(KERN_DEBUG "%dfs: div %d => result %d, deviation %d\n", 550 printk(KERN_DEBUG "%ufs: div %u => result %u, deviation %d\n",
551 fsdiv, div, actual, deviation); 551 fsdiv, div, actual, deviation);
552 552
553 deviation = abs(deviation); 553 deviation = abs(deviation);
@@ -563,7 +563,7 @@ int s3c_i2sv2_iis_calc_rate(struct s3c_i2sv2_rate_calc *info,
563 break; 563 break;
564 } 564 }
565 565
566 printk(KERN_DEBUG "best: fs=%d, div=%d, rate=%d\n", 566 printk(KERN_DEBUG "best: fs=%u, div=%u, rate=%u\n",
567 best_fs, best_div, best_rate); 567 best_fs, best_div, best_rate);
568 568
569 info->fs_div = best_fs; 569 info->fs_div = best_fs;