Kaynağa Gözat

ASoC: Display the clock rate used as the basis for rate calculation

Aids debugging.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Mark Brown 16 yıl önce
ebeveyn
işleme
af3ea7bdc7
1 değiştirilmiş dosya ile 2 ekleme ve 0 silme
  1. 2 0
      sound/soc/s3c24xx/s3c-i2s-v2.c

+ 2 - 0
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;