summaryrefslogtreecommitdiffstats
path: root/sound/soc/s3c24xx
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2009-04-30 14:13:55 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2009-04-30 14:30:42 +0200
commitaf3ea7bdc77be000f69a41e7c41060f72b5a7111 (patch)
treed2040ce8f6643876081976fef00393e898f675c6 /sound/soc/s3c24xx
parentASoC: Allow use of resource from the platform device for S3C IISv2 (diff)
downloadlinux-af3ea7bdc77be000f69a41e7c41060f72b5a7111.tar.xz
linux-af3ea7bdc77be000f69a41e7c41060f72b5a7111.zip
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/soc/s3c24xx')
-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 cb85498723dd..ad690b2b83ae 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;