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:59:05 +0000 (11:59 +0100)
commitdab501d351065797c43b8bc58fcb2a5c3c4d34d9
treebf4631317ca91b67d3a350f75c3929d502f8cb7f
parent823ef44a4cb504011df6f9b4349943a1d3beaa95
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