aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 d78abeceaeda..c0adbf8098ec 100644
--- a/sound/soc/codecs/wm8994.c
+++ b/sound/soc/codecs/wm8994.c
@@ -526,7 +526,7 @@ static int wm8994_get_retune_mobile_enum(struct snd_kcontrol *kcontrol,
526 struct snd_ctl_elem_value *ucontrol) 526 struct snd_ctl_elem_value *ucontrol)
527{ 527{
528 struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol); 528 struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol);
529 struct wm8994_priv *wm8994 =snd_soc_codec_get_drvdata(codec); 529 struct wm8994_priv *wm8994 = snd_soc_codec_get_drvdata(codec);
530 int block = wm8994_get_retune_mobile_block(kcontrol->id.name); 530 int block = wm8994_get_retune_mobile_block(kcontrol->id.name);
531 531
532 ucontrol->value.enumerated.item[0] = wm8994->retune_mobile_cfg[block]; 532 ucontrol->value.enumerated.item[0] = wm8994->retune_mobile_cfg[block];