commit | 3373e9004acc0603242622b4378c64bc01d21b5f | [log] [tgz] |
---|---|---|
author | Amelie Delaunay <[email protected]> | Mon Aug 10 09:12:35 2020 +0200 |
committer | Mark Brown <[email protected]> | Mon Aug 10 19:46:42 2020 +0100 |
tree | 0840a97cb9d9d7944eee55246c836b40a98243b5 | |
parent | 135dd873d3c76d812ae64c668adef3f2c59ed27f [diff] |
spi: stm32: fix fifo threshold level in case of short transfer When transfer is shorter than half of the fifo, set the data packet size up to transfer size instead of up to half of the fifo. Check also that threshold is set at least to 1 data frame. Signed-off-by: Amelie Delaunay <[email protected]> Signed-off-by: Alain Volmat <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>