Loading sound/soc/soc-core.c +2 −4 Original line number Original line Diff line number Diff line Loading @@ -2433,14 +2433,12 @@ int snd_soc_put_volsw_2r_sx(struct snd_kcontrol *kcontrol, if (oval != val) { if (oval != val) { ret = snd_soc_write(codec, mc->reg, val); ret = snd_soc_write(codec, mc->reg, val); if (ret < 0) if (ret < 0) return 0; return ret; ret = 1; } } if (ovalr != valr) { if (ovalr != valr) { ret = snd_soc_write(codec, mc->rreg, valr); ret = snd_soc_write(codec, mc->rreg, valr); if (ret < 0) if (ret < 0) return 0; return ret; ret = 1; } } return 0; return 0; Loading Loading
sound/soc/soc-core.c +2 −4 Original line number Original line Diff line number Diff line Loading @@ -2433,14 +2433,12 @@ int snd_soc_put_volsw_2r_sx(struct snd_kcontrol *kcontrol, if (oval != val) { if (oval != val) { ret = snd_soc_write(codec, mc->reg, val); ret = snd_soc_write(codec, mc->reg, val); if (ret < 0) if (ret < 0) return 0; return ret; ret = 1; } } if (ovalr != valr) { if (ovalr != valr) { ret = snd_soc_write(codec, mc->rreg, valr); ret = snd_soc_write(codec, mc->rreg, valr); if (ret < 0) if (ret < 0) return 0; return ret; ret = 1; } } return 0; return 0; Loading