]> 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>
Thu, 28 Aug 2025 14:28:30 +0000 (16:28 +0200)
commit3fbc2e43ab127c1db3b5ef4a7d916347c701a2ba
treebe32d64de635e6f00ba23975dca023ad0b4c1596
parent8270fbcc1ec4b3fb6eda0226662e9e52bb4526d0
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