[alsa-devel] [PATCH] ASoC: Fix typo in 24.576MHz rate in WM5100

Mark Brown broonie at opensource.wolfsonmicro.com
Mon Oct 3 22:07:45 CEST 2011


Signed-off-by: Mark Brown <broonie at opensource.wolfsonmicro.com>
---
 sound/soc/codecs/wm5100.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sound/soc/codecs/wm5100.c b/sound/soc/codecs/wm5100.c
index f88b0a3..d2f260f 100644
--- a/sound/soc/codecs/wm5100.c
+++ b/sound/soc/codecs/wm5100.c
@@ -1762,7 +1762,7 @@ static int wm5100_set_sysclk(struct snd_soc_codec *codec, int clk_id,
 		fval = 1;
 		break;
 	case 22579200:
-	case 2457600:
+	case 24576000:
 		fval = 2;
 		break;
 	default:
@@ -1779,7 +1779,7 @@ static int wm5100_set_sysclk(struct snd_soc_codec *codec, int clk_id,
 
 	case 6144000:
 	case 12288000:
-	case 2457600:
+	case 24576000:
 		audio_rate = 48000;
 		break;
 
-- 
1.7.6.3



More information about the Alsa-devel mailing list