aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-10-04 22:07:18 +0800
committerGreg Kroah-Hartman <gregkh@suse.de>2011-11-11 09:43:18 -0800
commita18470be6afe994201aec8e3c45bd0079df5364d (patch)
treea7110d0cc16e9948f08e61db62700b681258e313 /sound
parentba69b896ad2634f80a1e8ffae4196cc16c835569 (diff)
downloadlinux-linaro-precise-a18470be6afe994201aec8e3c45bd0079df5364d.tar.gz
ASoC: wm8994: Fix setting rate_reg for wm8994-aif2
commit c527e6aadc8f142ad388b6aa59a1ce6a4bfb1966 upstream. For wm8994-aif2, the rate_reg should be WM8994_AIF2_RATE. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/wm8994.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c
index b393f9fac97..48ea611728d 100644
--- a/sound/soc/codecs/wm8994.c
+++ b/sound/soc/codecs/wm8994.c
@@ -2311,7 +2311,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;