Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ASoC: cs42l73: Fix mask for setting CS42L73_SP_3ST bit

CS42L73_SP_3ST is BIT(7), so the mask field is wrong. Fix it.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Brian Austin <brian.austin@cirrus.com>
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Axel Lin and committed by
Mark Brown
8626e5eb bc0195aa

+2 -2
+2 -2
sound/soc/codecs/cs42l73.c
··· 1236 1236 struct snd_soc_codec *codec = dai->codec; 1237 1237 int id = dai->id; 1238 1238 1239 - return snd_soc_update_bits(codec, CS42L73_SPC(id), 1240 - 0x7F, tristate << 7); 1239 + return snd_soc_update_bits(codec, CS42L73_SPC(id), CS42L73_SP_3ST, 1240 + tristate << 7); 1241 1241 } 1242 1242 1243 1243 static const struct snd_pcm_hw_constraint_list constraints_12_24 = {