Skip to content
Commit 1583eaec authored by Lars Persson's avatar Lars Persson Committed by Greg Kroah-Hartman
Browse files

spi: Fix regression in spi-bitbang-txrx.h



commit 26a67ec4 upstream.

This patch fixes a regression introduced by commit 232a5adc ("spi:
bitbang: only toggle bitchanges"). The attempt to optimize writes of
consecutive bit patterns broke most of the combinations of word size
and SPI modes due to selecting the wrong bit as the MSB value.

Fixes: 232a5adc (spi: bitbang: only toggle bitchanges)
Signed-off-by: default avatarLars Persson <larper@axis.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7f3f69a6
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