]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: fsl_xcvr: clear the channel status control memory
authorShengjiu Wang <shengjiu.wang@nxp.com>
Wed, 26 Nov 2025 06:45:09 +0000 (14:45 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 Jan 2026 12:09:34 +0000 (13:09 +0100)
commit212825c1c8cb6110956a8ac8a38f3635b2e11ca7
tree63399dda4cae333f2e32db5ff49380503c1aa8aa
parent650127b100b16e948ef622e084735da2ef4a1910
ASoC: fsl_xcvr: clear the channel status control memory

[ Upstream commit 73b97d46dde64fa184d47865d4a532d818c3a007 ]

memset_io() writes memory byte by byte with __raw_writeb() on the arm
platform if the size is word. but XCVR data RAM memory can't be accessed
with byte address, so with memset_io() the channel status control memory
is not really cleared, use writel_relaxed() instead.

Fixes: 28564486866f ("ASoC: fsl_xcvr: Add XCVR ASoC CPU DAI driver")
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Link: https://patch.msgid.link/20251126064509.1900974-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_xcvr.c