Merge tag 'mtd/fixes-for-5.13-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-microblaze.git] / sound / soc / codecs / tas2562.c
index 19965fa..1030255 100644 (file)
@@ -200,7 +200,6 @@ static int tas2562_set_dai_tdm_slot(struct snd_soc_dai *dai,
                        right_slot = left_slot;
                } else {
                        right_slot = __ffs(tx_mask);
-                       tx_mask &= ~(1 << right_slot);
                }
        }
 
@@ -527,7 +526,7 @@ static int tas2562_volume_control_put(struct snd_kcontrol *kcontrol,
 
        tas2562->volume_lvl = ucontrol->value.integer.value[0];
 
-       return ret;
+       return 0;
 }
 
 /* Digital Volume Control. From 0 dB to -110 dB in 1 dB steps */