From: Anatolij Gustschin Date: Wed, 1 Jun 2011 16:36:49 +0000 (+0200) Subject: spi/bitbang: initialize bits_per_word as specified by spi message X-Git-Tag: v3.1-rc1~312^2~30 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c99268431a117207a89be5167ecd69429fd4bda;p=pandora-kernel.git spi/bitbang: initialize bits_per_word as specified by spi message SPI protocol drivers can submit messages specifying needed bits_per_word parameter for a message transfer. The bitbang driver currently ignores bits_per_word given by a singe message and always uses master's bits_per_word parameter. Only use master's bits_per_word when a message didn't specify needed bits_per_word for ongoing transfer. Signed-off-by: Anatolij Gustschin Signed-off-by: Grant Likely --- Reading git-diff-tree failed