diff options
author | Adam Butcher <adam@jessamine.co.uk> | 2024-03-18 17:50:52 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-03-18 21:06:54 +0000 |
commit | cf6d79a0f5769b5f4d9579ddaf88d2c30b03b873 (patch) | |
tree | c379e09498174b15e3b599b8219d7aa3eeefbc65 /sound/usb/mixer_s1810c.c | |
parent | 5bd249aec71d75f0088357e4aba27fde0610f823 (diff) | |
download | linux-stable-cf6d79a0f5769b5f4d9579ddaf88d2c30b03b873.tar.gz linux-stable-cf6d79a0f5769b5f4d9579ddaf88d2c30b03b873.tar.bz2 linux-stable-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/20240201105451.507005-1-carlos.song@nxp.com/
Link: https://lore.kernel.org/all/20240204091912.36488-1-carlos.song@nxp.com/
Fixes: c712c05e46c8 ("spi: imx: fix the burst length at DMA mode and CPU mode")
Signed-off-by: Adam Butcher <adam@jessamine.co.uk>
Link: https://msgid.link/r/20240318175119.3334-1-adam@jessamine.co.uk
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/usb/mixer_s1810c.c')
0 files changed, 0 insertions, 0 deletions