ASoC: tlv320aic32x4: aic32x4_set_dai_fmt(): drop unneded register access
Subsystems (3)
PATCH 1/1 ASoC: tlv320aic32x4: aic32x4_set_dai_fmt(): drop unneded register access
There's no point in reading the IFACE2 register when the result isn't used, so drop it.
Signed-off-by Peter Korsgaard <[email protected]>
--- sound/soc/codecs/tlv320aic32x4.c | 1 - 1 file changed, 1 deletion(-)
sound/soc/codecs/tlv320aic32x4.c +0 -1
@@ -336,7 +336,6 @@ static int aic32x4_set_dai_fmt(struct snd_soc_dai *codec_dai, unsigned int fmt) iface_reg_1 =snd_soc_read (codec,AIC32X4_IFACE1 ); iface_reg_1 = iface_reg_1 & ~(3 <<6 |3 <<2 ); - iface_reg_2 =snd_soc_read (codec,AIC32X4_IFACE2 ); iface_reg_2 =0 ; iface_reg_3 =snd_soc_read (codec,AIC32X4_IFACE3 ); iface_reg_3 = iface_reg_3 & ~(1 <<3 );
Signature · 1 line
2.0.0