summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorRobin Gong <yibin.gong@nxp.com>2018-10-10 10:32:42 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-12-13 17:42:14 +0100
commitab6d0ef9d7e91f550aa112595a3eb0194a24dd4c (patch)
treeb4df575386324c8ce8d4ba47aef43ba3247cfcdd /kernel
parentf79a0c28d01f3cfa305fb17b094fe4252c69ba6f (diff)
spi: imx: move wml setting to later than setup_transfer
[ Upstream commit 987a2dfe3f0485a82d87106e7e1c43f35c1d3b09 ] Current dynamic burst length is based on the whole transfer length, that's ok if there is only one sg, but is not right in case multi sgs in one transfer,because the tail data should be based on the last sg length instead of the whole transfer length. Move wml setting for DMA to the later place, thus, the next patch could get the right last sg length for wml setting. This patch is a preparation one, no any function change involved. Signed-off-by: Robin Gong <yibin.gong@nxp.com> Signed-off-by: Mark Brown <broonie@kernel.org> Stable-dep-of: 00b80ac93553 ("spi: imx: mx51-ecspi: Move some initialisation to prepare_message hook.") Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions