|
@@ -2996,7 +2996,6 @@ int snd_soc_get_volsw_range(struct snd_kcontrol *kcontrol,
|
|
int max = mc->max;
|
|
int max = mc->max;
|
|
unsigned int mask = (1 << fls(max)) - 1;
|
|
unsigned int mask = (1 << fls(max)) - 1;
|
|
unsigned int invert = mc->invert;
|
|
unsigned int invert = mc->invert;
|
|
- int ret;
|
|
|
|
|
|
|
|
ucontrol->value.integer.value[0] =
|
|
ucontrol->value.integer.value[0] =
|
|
(snd_soc_read(codec, reg) >> shift) & mask;
|
|
(snd_soc_read(codec, reg) >> shift) & mask;
|