projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5c49d4
)
ASoC: wm8994: Fix setting rate_reg for wm8994-aif2
author
Axel Lin
<axel.lin@gmail.com>
Tue, 4 Oct 2011 14:07:18 +0000
(22:07 +0800)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Tue, 4 Oct 2011 14:43:29 +0000
(15:43 +0100)
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
sound/soc/codecs/wm8994.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/wm8994.c
b/sound/soc/codecs/wm8994.c
index
b393f9f
..
48ea611
100644
(file)
--- 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_AIF
1
_RATE;
+ rate_reg = WM8994_AIF
2
_RATE;
break;
default:
break;