ASoC: wm8994: Is the rate_reg for wm8994-aif2 correct?
Subsystems (3)
hi Mark,
While reading wm8994.c, it seems the correct rate_reg for wm8994-aif2 should be WM8994_AIF2_RATE.
I cannot find wm8994 datasheet, could you help checking it?
Thanks,
Axel
Quoted 1 line
From
5b4cb1e9eae945dfe473139a80d16da6f2fee622Mon Sep 17 00:00:00 2001
From: Axel Lin <[email protected]>
Date: Tue, 4 Oct 2011 22:00:01 +0800
Subject: [PATCH] ASoC: wm8994: Fix setting rate_reg for wm8994-aif2
For wm8994-aif2, the rate_reg should be WM8994_AIF2_RATE.
Signed-off-by Axel Lin <[email protected]>
--- sound/soc/codecs/wm8994.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
sound/soc/codecs/wm8994.c +1 -1
@@ -2421,7 +2421,7 @@ static void wm8994_aif_shutdown(struct snd_pcm_substream *substream, rate_reg =WM8994_AIF1_RATE ;break ;case 2 : - rate_reg =WM8994_AIF1_RATE ; + rate_reg =WM8994_AIF2_RATE ;break ;default :break ;
Signature · 1 line
1.7.4.1
Quoted 3 lines · Axel Lin
While reading
wm8994.c, it seems the correctrate_regfor wm8994-aif2 should beWM8994_AIF2_RATE.
I cannot find wm8994 datasheet, could you help checking it?
Looks good, I've applied - thanks!