2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-18 18:23:53 +08:00

Merge remote-tracking branch 'asoc/fix/core' into tmp

This commit is contained in:
Mark Brown 2013-04-11 18:00:28 +01:00
commit cbf9c5ae32

View File

@ -2963,7 +2963,7 @@ int snd_soc_put_volsw_range(struct snd_kcontrol *kcontrol,
val = val << shift;
ret = snd_soc_update_bits_locked(codec, reg, val_mask, val);
if (ret != 0)
if (ret < 0)
return ret;
if (snd_soc_volsw_is_stereo(mc)) {