diff options
author | Takashi Iwai <tiwai@suse.de> | 2010-12-17 17:28:37 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-12-17 17:28:37 +0300 |
commit | 5aad6c5f7733b94e666e3bf8b57beb7bbee15886 (patch) | |
tree | a3228f3eec1de68678bb27613568ded50730ba9c /sound/soc/codecs/wm8960.c | |
parent | 8cd1fd2526a78eaa1785a8ae3fe9f45a8ddd0e17 (diff) | |
parent | 862af8adbe6b9ccb7c00c13717b1f92465f79aa2 (diff) | |
download | linux-5aad6c5f7733b94e666e3bf8b57beb7bbee15886.tar.xz |
Merge branch 'fix/asoc' into for-linus
Diffstat (limited to 'sound/soc/codecs/wm8960.c')
-rw-r--r-- | sound/soc/codecs/wm8960.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8960.c b/sound/soc/codecs/wm8960.c index 8d5efb333c33..21986c42272f 100644 --- a/sound/soc/codecs/wm8960.c +++ b/sound/soc/codecs/wm8960.c @@ -138,7 +138,8 @@ static int wm8960_get_deemph(struct snd_kcontrol *kcontrol, struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol); struct wm8960_priv *wm8960 = snd_soc_codec_get_drvdata(codec); - return wm8960->deemph; + ucontrol->value.enumerated.item[0] = wm8960->deemph; + return 0; } static int wm8960_put_deemph(struct snd_kcontrol *kcontrol, |