projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4aa937
)
ASoC: wm8994: use the correct pointer to get the control value
author
Vinod Koul
<vinod.koul@intel.com>
Tue, 28 May 2013 10:11:57 +0000
(15:41 +0530)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Tue, 28 May 2013 14:10:09 +0000
(10:10 -0400)
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm8994.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/wm8994.c
b/sound/soc/codecs/wm8994.c
index 1eb152cb10970d06a09b98995871581105e6fa51..62dc30598084849e270fdd8ef4b38fc36300c9c3 100644
(file)
--- a/
sound/soc/codecs/wm8994.c
+++ b/
sound/soc/codecs/wm8994.c
@@
-1031,7
+1031,7
@@
static int aif1clk_ev(struct snd_soc_dapm_widget *w,
{
struct snd_soc_codec *codec = w->codec;
struct wm8994_priv *wm8994 = snd_soc_codec_get_drvdata(codec);
- struct wm8994 *control =
codec->control_data
;
+ struct wm8994 *control =
wm8994->wm8994
;
int mask = WM8994_AIF1DAC1L_ENA | WM8994_AIF1DAC1R_ENA;
int i;
int dac;