]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: fsl_sai: replace regmap_write with regmap_update_bits
authorShengjiu Wang <shengjiu.wang@nxp.com>
Thu, 7 Aug 2025 02:03:18 +0000 (10:03 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Aug 2025 16:36:27 +0000 (18:36 +0200)
commite8cf983a2c0df59785ee6c141a634c8ee5793811
tree5a4dd38d6bd90d5dd539a8619d71a8967d9bae3b
parent7102007b5d53f90f1b1793c59c56cf0f1a3d32b9
ASoC: fsl_sai: replace regmap_write with regmap_update_bits

[ Upstream commit 0e270f32975fd21874185ba53653630dd40bf560 ]

Use the regmap_write() for software reset in fsl_sai_config_disable would
cause the FSL_SAI_CSR_BCE bit to be cleared. Refer to
commit 197c53c8ecb34 ("ASoC: fsl_sai: Don't disable bitclock for i.MX8MP")
FSL_SAI_CSR_BCE should not be cleared. So need to use regmap_update_bits()
instead of regmap_write() for these bit operations.

Fixes: dc78f7e59169d ("ASoC: fsl_sai: Force a software reset when starting in consumer mode")
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Link: https://patch.msgid.link/20250807020318.2143219-1-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/fsl/fsl_sai.c