[alsa-devel] [PATCH] ASoC: wm8994: use the correct pointer to get the control value
Signed-off-by: Vinod Koul vinod.koul@intel.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 f1c54af..49b2b00 100644 --- a/sound/soc/codecs/wm8994.c +++ b/sound/soc/codecs/wm8994.c @@ -1032,7 +1032,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;
On Tue, May 28, 2013 at 03:41:57PM +0530, Vinod Koul wrote:
Signed-off-by: Vinod Koul vinod.koul@intel.com
Applied, thanks.
participants (2)
-
Mark Brown
-
Vinod Koul