|
@@ -459,7 +459,7 @@ static int wm8958_put_mbc_enum(struct snd_kcontrol *kcontrol,
|
|
|
struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol);
|
|
|
struct wm8994_priv *wm8994 = snd_soc_codec_get_drvdata(codec);
|
|
|
struct wm8994 *control = wm8994->wm8994;
|
|
|
- int value = ucontrol->value.integer.value[0];
|
|
|
+ int value = ucontrol->value.enumerated.item[0];
|
|
|
int reg;
|
|
|
|
|
|
/* Don't allow on the fly reconfiguration */
|
|
@@ -549,7 +549,7 @@ static int wm8958_put_vss_enum(struct snd_kcontrol *kcontrol,
|
|
|
struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol);
|
|
|
struct wm8994_priv *wm8994 = snd_soc_codec_get_drvdata(codec);
|
|
|
struct wm8994 *control = wm8994->wm8994;
|
|
|
- int value = ucontrol->value.integer.value[0];
|
|
|
+ int value = ucontrol->value.enumerated.item[0];
|
|
|
int reg;
|
|
|
|
|
|
/* Don't allow on the fly reconfiguration */
|
|
@@ -582,7 +582,7 @@ static int wm8958_put_vss_hpf_enum(struct snd_kcontrol *kcontrol,
|
|
|
struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol);
|
|
|
struct wm8994_priv *wm8994 = snd_soc_codec_get_drvdata(codec);
|
|
|
struct wm8994 *control = wm8994->wm8994;
|
|
|
- int value = ucontrol->value.integer.value[0];
|
|
|
+ int value = ucontrol->value.enumerated.item[0];
|
|
|
int reg;
|
|
|
|
|
|
/* Don't allow on the fly reconfiguration */
|
|
@@ -749,7 +749,7 @@ static int wm8958_put_enh_eq_enum(struct snd_kcontrol *kcontrol,
|
|
|
struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol);
|
|
|
struct wm8994_priv *wm8994 = snd_soc_codec_get_drvdata(codec);
|
|
|
struct wm8994 *control = wm8994->wm8994;
|
|
|
- int value = ucontrol->value.integer.value[0];
|
|
|
+ int value = ucontrol->value.enumerated.item[0];
|
|
|
int reg;
|
|
|
|
|
|
/* Don't allow on the fly reconfiguration */
|