|
@@ -534,7 +534,7 @@ static int wm8904_put_deemph(struct snd_kcontrol *kcontrol,
|
|
{
|
|
{
|
|
struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol);
|
|
struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol);
|
|
struct wm8904_priv *wm8904 = snd_soc_codec_get_drvdata(codec);
|
|
struct wm8904_priv *wm8904 = snd_soc_codec_get_drvdata(codec);
|
|
- int deemph = ucontrol->value.integer.value[0];
|
|
|
|
|
|
+ unsigned int deemph = ucontrol->value.integer.value[0];
|
|
|
|
|
|
if (deemph > 1)
|
|
if (deemph > 1)
|
|
return -EINVAL;
|
|
return -EINVAL;
|