]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
spi: nxp-fspi: reset the FLSHxCR1 registers
authorHan Xu <han.xu@nxp.com>
Wed, 6 Sep 2023 18:32:54 +0000 (13:32 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Oct 2023 11:18:17 +0000 (13:18 +0200)
commit25850bf83dcd373fdda42689109ae0b7a3b5d5a3
tree2b331ada35b8e88295eb5d959b50bccdf52763a5
parent50662d21e41477da1ef1c8fafbedec536694fc78
spi: nxp-fspi: reset the FLSHxCR1 registers

[ Upstream commit 18495676f7886e105133f1dc06c1d5e8d5436f32 ]

Reset the FLSHxCR1 registers to default value. ROM may set the register
value and it affects the SPI NAND normal functions.

Signed-off-by: Han Xu <han.xu@nxp.com>
Link: https://lore.kernel.org/r/20230906183254.235847-1-han.xu@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/spi/spi-nxp-fspi.c