aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8955.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2010-12-17 15:28:37 +0100
committerTakashi Iwai <tiwai@suse.de>2010-12-17 15:28:37 +0100
commit5aad6c5f7733b94e666e3bf8b57beb7bbee15886 (patch)
treea3228f3eec1de68678bb27613568ded50730ba9c /sound/soc/codecs/wm8955.c
parent8cd1fd2526a78eaa1785a8ae3fe9f45a8ddd0e17 (diff)
parent862af8adbe6b9ccb7c00c13717b1f92465f79aa2 (diff)
downloadkernel_samsung_crespo-5aad6c5f7733b94e666e3bf8b57beb7bbee15886.zip
kernel_samsung_crespo-5aad6c5f7733b94e666e3bf8b57beb7bbee15886.tar.gz
kernel_samsung_crespo-5aad6c5f7733b94e666e3bf8b57beb7bbee15886.tar.bz2
Merge branch 'fix/asoc' into for-linus
Diffstat (limited to 'sound/soc/codecs/wm8955.c')
-rw-r--r--sound/soc/codecs/wm8955.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8955.c b/sound/soc/codecs/wm8955.c
index f89ad6c..9cbab8e 100644
--- a/sound/soc/codecs/wm8955.c
+++ b/sound/soc/codecs/wm8955.c
@@ -380,7 +380,8 @@ static int wm8955_get_deemph(struct snd_kcontrol *kcontrol,
struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol);
struct wm8955_priv *wm8955 = snd_soc_codec_get_drvdata(codec);
- return wm8955->deemph;
+ ucontrol->value.enumerated.item[0] = wm8955->deemph;
+ return 0;
}
static int wm8955_put_deemph(struct snd_kcontrol *kcontrol,