diff options
Diffstat (limited to 'sound/soc/codecs/wm8955.c')
-rw-r--r-- | sound/soc/codecs/wm8955.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8955.c b/sound/soc/codecs/wm8955.c index 6200beb082b2..ca0265f008d2 100644 --- a/sound/soc/codecs/wm8955.c +++ b/sound/soc/codecs/wm8955.c | |||
@@ -379,7 +379,8 @@ static int wm8955_get_deemph(struct snd_kcontrol *kcontrol, | |||
379 | struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol); | 379 | struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol); |
380 | struct wm8955_priv *wm8955 = snd_soc_codec_get_drvdata(codec); | 380 | struct wm8955_priv *wm8955 = snd_soc_codec_get_drvdata(codec); |
381 | 381 | ||
382 | return wm8955->deemph; | 382 | ucontrol->value.enumerated.item[0] = wm8955->deemph; |
383 | return 0; | ||
383 | } | 384 | } |
384 | 385 | ||
385 | static int wm8955_put_deemph(struct snd_kcontrol *kcontrol, | 386 | static int wm8955_put_deemph(struct snd_kcontrol *kcontrol, |