aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8994.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-10-04 10:07:18 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-10-04 10:43:29 -0400
commitc527e6aadc8f142ad388b6aa59a1ce6a4bfb1966 (patch)
tree87dd81cf7c4588717324097e777ad2bfd68362be /sound/soc/codecs/wm8994.c
parentb5c49d49b9e175fd56cb4b5cf2c4fd972d15e013 (diff)
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 <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Cc: stable@kernel.org
Diffstat (limited to 'sound/soc/codecs/wm8994.c')
-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 b393f9fac97a..48ea611728d4 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,
2311 rate_reg = WM8994_AIF1_RATE; 2311 rate_reg = WM8994_AIF1_RATE;
2312 break; 2312 break;
2313 case 2: 2313 case 2:
2314 rate_reg = WM8994_AIF1_RATE; 2314 rate_reg = WM8994_AIF2_RATE;
2315 break; 2315 break;
2316 default: 2316 default:
2317 break; 2317 break;