]> git.baikalelectronics.ru Git - kernel.git/commit
spi: lpspi: Let watermark change with send data length
authorClark Wang <xiaoning.wang@nxp.com>
Fri, 7 Dec 2018 02:50:38 +0000 (02:50 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 13 Dec 2018 11:57:28 +0000 (11:57 +0000)
commit81de8429cee75ef2d5e33025bbb18697f0d64ebe
treeff44f80e499856282f2c9395fdff9d13b901dfca
parent1b4ff0bd0646401ca3bb98c827bb82f24d7737c9
spi: lpspi: Let watermark change with send data length

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

Signed-off-by: Clark Wang <xiaoning.wang@nxp.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-fsl-lpspi.c