Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 6a6c19da authored by Clark Wang's avatar Clark Wang Committed by Vegard Nossum
Browse files

spi: lpspi: Let watermark change with send data length



[ Upstream commit cf86874bb9bdb99ba3620428b59b0408fbc703d0 ]

Configure watermark to change with the length of the sent data.
Support LPSPI sending message shorter than tx/rxfifosize.

Signed-off-by: default avatarClark Wang <xiaoning.wang@nxp.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Stable-dep-of: 730bbfaf7d48 ("spi: spi-fsl-lpspi: Fix scldiv calculation")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
(cherry picked from commit 8f8b12339ef7cc8e15989f6445aad5a9bf8c00f5)
Signed-off-by: default avatarVegard Nossum <vegard.nossum@oracle.com>
parent 12bfab71
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment