Skip to content
Commit 80abf888 authored by Addy Ke's avatar Addy Ke Committed by Vinod Koul
Browse files

spi: rockchip: modify DMA max burst to 1



Generic dma controller on Rockchips' platform cannot support
DMAFLUSHP instruction which make dma to flush the req of non-aligned
or non-multiple of what we need. That will cause an unrecoverable
dma bus error. The saftest way is to set dma max burst to 1.

Signed-off-by: default avatarAddy ke <addy.ke@rock-chips.com>
Fixes: 64e36824 ("spi/rockchip: add driver for Rockchip...")
Signed-off-by: default avatarShawn Lin <shawn.lin@rock-chips.com>
cc: Heiko Stuebner <heiko@sntech.de>
cc: Olof Johansson <olof@lixom.net>
cc: Doug Anderson <dianders@chromium.org>
cc: Sonny Rao <sonnyrao@chromium.org>

Acked-by: default avatarMark Brown <broonie@kernel.org>
Signed-off-by: default avatarCaesar Wang <wxt@rock-chips.com>
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
parent 86a8ce7d
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