From: Lars Persson Date: Wed, 29 Jul 2015 07:32:02 +0000 (+0200) Subject: spi: Fix regression in spi-bitbang-txrx.h X-Git-Tag: omap-for-v4.3/fixes-merge-window~33^2~7^3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26a67ec47a4c58fe79c6421c3dc3d697d322d2d6;p=pandora-kernel.git spi: Fix regression in spi-bitbang-txrx.h This patch fixes a regression introduced by commit 232a5adc5199 ("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: 232a5adc5199 (spi: bitbang: only toggle bitchanges) Signed-off-by: Lars Persson Signed-off-by: Mark Brown Cc: stable@vger.kernel.org --- Reading git-diff-tree failed