-
由 Lars Persson 提交于
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: NLars Persson <larper@axis.com> Signed-off-by: NMark Brown <broonie@kernel.org> Cc: stable@vger.kernel.org
26a67ec4