diff options
| author | Adam Butcher <[email protected]> | 2024-03-18 17:50:52 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2024-03-18 21:06:54 +0000 |
| commit | cf6d79a0f5769b5f4d9579ddaf88d2c30b03b873 (patch) | |
| tree | c379e09498174b15e3b599b8219d7aa3eeefbc65 /rust/helpers.c | |
| parent | spi: Merge up v6.8 release (diff) | |
| download | kernel-cf6d79a0f5769b5f4d9579ddaf88d2c30b03b873.tar.gz kernel-cf6d79a0f5769b5f4d9579ddaf88d2c30b03b873.zip | |
spi: spi-imx: fix off-by-one in mx51 CPU mode burst length
c712c05e46c8 ("spi: imx: fix the burst length at DMA mode and CPU mode")
corrects three cases of setting the ECSPI burst length but erroneously
leaves the in-range CPU case one bit to big (in that field a value of
0 means 1 bit). The effect was that transmissions that should have been
8-bit bytes appeared as 9-bit causing failed communication with SPI
devices.
Link: https://lore.kernel.org/all/[email protected]/
Link: https://lore.kernel.org/all/[email protected]/
Fixes: c712c05e46c8 ("spi: imx: fix the burst length at DMA mode and CPU mode")
Signed-off-by: Adam Butcher <[email protected]>
Link: https://msgid.link/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions
