diff options
-rw-r--r-- | sound/soc/codecs/wm8580.c | 2 | ||||
-rw-r--r-- | sound/soc/codecs/wm8904.c | 3 | ||||
-rw-r--r-- | sound/soc/codecs/wm8955.c | 3 | ||||
-rw-r--r-- | sound/soc/codecs/wm8960.c | 3 |
4 files changed, 7 insertions, 4 deletions
diff --git a/sound/soc/codecs/wm8580.c b/sound/soc/codecs/wm8580.c index 45efc9437ee8..0ebdecfd27a9 100644 --- a/sound/soc/codecs/wm8580.c +++ b/sound/soc/codecs/wm8580.c | |||
@@ -160,7 +160,7 @@ | |||
160 | static const u16 wm8580_reg[] = { | 160 | static const u16 wm8580_reg[] = { |
161 | 0x0121, 0x017e, 0x007d, 0x0014, /*R3*/ | 161 | 0x0121, 0x017e, 0x007d, 0x0014, /*R3*/ |
162 | 0x0121, 0x017e, 0x007d, 0x0194, /*R7*/ | 162 | 0x0121, 0x017e, 0x007d, 0x0194, /*R7*/ |
163 | 0x001c, 0x0002, 0x0002, 0x00c2, /*R11*/ | 163 | 0x0010, 0x0002, 0x0002, 0x00c2, /*R11*/ |
164 | 0x0182, 0x0082, 0x000a, 0x0024, /*R15*/ | 164 | 0x0182, 0x0082, 0x000a, 0x0024, /*R15*/ |
165 | 0x0009, 0x0000, 0x00ff, 0x0000, /*R19*/ | 165 | 0x0009, 0x0000, 0x00ff, 0x0000, /*R19*/ |
166 | 0x00ff, 0x00ff, 0x00ff, 0x00ff, /*R23*/ | 166 | 0x00ff, 0x00ff, 0x00ff, 0x00ff, /*R23*/ |
diff --git a/sound/soc/codecs/wm8904.c b/sound/soc/codecs/wm8904.c index d0024666eaf9..8ba142abd8e6 100644 --- a/sound/soc/codecs/wm8904.c +++ b/sound/soc/codecs/wm8904.c | |||
@@ -817,7 +817,8 @@ static int wm8904_get_deemph(struct snd_kcontrol *kcontrol, | |||
817 | struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol); | 817 | struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol); |
818 | struct wm8904_priv *wm8904 = snd_soc_codec_get_drvdata(codec); | 818 | struct wm8904_priv *wm8904 = snd_soc_codec_get_drvdata(codec); |
819 | 819 | ||
820 | return wm8904->deemph; | 820 | ucontrol->value.enumerated.item[0] = wm8904->deemph; |
821 | return 0; | ||
821 | } | 822 | } |
822 | 823 | ||
823 | static int wm8904_put_deemph(struct snd_kcontrol *kcontrol, | 824 | static int wm8904_put_deemph(struct snd_kcontrol *kcontrol, |
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, |
diff --git a/sound/soc/codecs/wm8960.c b/sound/soc/codecs/wm8960.c index 0bcf36ee29bc..2c5712dce1d5 100644 --- a/sound/soc/codecs/wm8960.c +++ b/sound/soc/codecs/wm8960.c | |||
@@ -137,7 +137,8 @@ static int wm8960_get_deemph(struct snd_kcontrol *kcontrol, | |||
137 | struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol); | 137 | struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol); |
138 | struct wm8960_priv *wm8960 = snd_soc_codec_get_drvdata(codec); | 138 | struct wm8960_priv *wm8960 = snd_soc_codec_get_drvdata(codec); |
139 | 139 | ||
140 | return wm8960->deemph; | 140 | ucontrol->value.enumerated.item[0] = wm8960->deemph; |
141 | return 0; | ||
141 | } | 142 | } |
142 | 143 | ||
143 | static int wm8960_put_deemph(struct snd_kcontrol *kcontrol, | 144 | static int wm8960_put_deemph(struct snd_kcontrol *kcontrol, |