aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2009-04-30 13:13:55 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2009-04-30 13:30:42 +0100
commitaf3ea7bdc77be000f69a41e7c41060f72b5a7111 (patch)
treed2040ce8f6643876081976fef00393e898f675c6 /sound
parentc86bde54062a4d02c1b58203b7802797e4007a8a (diff)
ASoC: Display the clock rate used as the basis for rate calculation
Aids debugging. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/s3c24xx/s3c-i2s-v2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/s3c24xx/s3c-i2s-v2.c b/sound/soc/s3c24xx/s3c-i2s-v2.c
index cb85498723d..ad690b2b83a 100644
--- a/sound/soc/s3c24xx/s3c-i2s-v2.c
+++ b/sound/soc/s3c24xx/s3c-i2s-v2.c
@@ -523,6 +523,8 @@ int s3c_i2sv2_iis_calc_rate(struct s3c_i2sv2_rate_calc *info,
unsigned int best_rate = 0;
unsigned int best_deviation = INT_MAX;
+ pr_debug("Input clock rate %ldHz\n", clkrate);
+
if (fstab == NULL)
fstab = iis_fs_tab;