Skip to content
Commit adec566b authored by Anatolij Gustschin's avatar Anatolij Gustschin Committed by Vinod Koul
Browse files

dmaengine: bestcomm: fix system boot lockups



memset() and memcpy() on an MMIO region like here results in a
lockup at startup on mpc5200 platform (since this first happens
during probing of the ATA and Ethernet drivers). Use memset_io()
and memcpy_toio() instead.

Fixes: 2f9ea1bd ("bestcomm: core bestcomm support for Freescale MPC5200")
Cc: stable@vger.kernel.org # v5.14+
Signed-off-by: default avatarAnatolij Gustschin <agust@denx.de>
Link: https://lore.kernel.org/r/20211014094012.21286-1-agust@denx.de


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 8e0c7e48
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment