]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
spi: nxp-fspi: use the correct ioremap function
authorHan Xu <han.xu@nxp.com>
Tue, 10 Oct 2023 20:15:24 +0000 (15:15 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Nov 2023 10:08:17 +0000 (11:08 +0100)
commit7ff8ca9beefbd5be033a41c0de4dffcea12a8e5a
tree33cd48620991880694f7c6fb8e809eb147a973ed
parent26206c858dae76c1b8c5738aab863f2ffbfac27d
spi: nxp-fspi: use the correct ioremap function

[ Upstream commit c3aa5cb264a38ae9bbcce32abca4c155af0456df ]

AHB memory as MMIO should be mapped with ioremap rather than ioremap_wc,
which should have been used initially just to handle unaligned access as
a workaround.

Fixes: d166a73503ef ("spi: fspi: dynamically alloc AHB memory")
Signed-off-by: Han Xu <han.xu@nxp.com>
Link: https://lore.kernel.org/r/20231010201524.2021340-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