]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - sound/soc/codecs/wm8904.c
Merge branch 'for-2.6.37' into for-2.6.38
[mv-sheeva.git] / sound / soc / codecs / wm8904.c
index d0024666eaf9a5cecac982f0006141ec541707c7..8ba142abd8e640cce34f4beb0c02112b4fd0c010 100644 (file)
@@ -817,7 +817,8 @@ static int wm8904_get_deemph(struct snd_kcontrol *kcontrol,
        struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol);
        struct wm8904_priv *wm8904 = snd_soc_codec_get_drvdata(codec);
 
-       return wm8904->deemph;
+       ucontrol->value.enumerated.item[0] = wm8904->deemph;
+       return 0;
 }
 
 static int wm8904_put_deemph(struct snd_kcontrol *kcontrol,