[PATCH] ASoC: wm8994: Fix setting rate_reg for wm8994-aif2

4 Oct
2011
4 Oct
'11
4 p.m.
For wm8994-aif2, the rate_reg should be WM8994_AIF2_RATE.
Signed-off-by: Axel Lin axel.lin@gmail.com --- sound/soc/codecs/wm8994.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c index 4225e1f..d5b69c0 100644 --- a/sound/soc/codecs/wm8994.c +++ b/sound/soc/codecs/wm8994.c @@ -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;
--
1.7.4.1
4910
Age (days ago)
4910
Last active (days ago)
0 comments
1 participants
participants (1)
-
Axel Lin