From: Axel Lin Date: Thu, 15 Aug 2013 06:11:21 +0000 (+0800) Subject: spi: nuc900: Fix mode_bits setting X-Git-Tag: v3.12-rc1~192^2~18^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=044d0bb620be2ecb02c7f8c2d4b547f7b7101811;p=pandora-kernel.git spi: nuc900: Fix mode_bits setting The code in nuc900_slave_select() supports handling SPI_CS_HIGH. Thus set SPI_CS_HIGH bit in master->mode_bits to make it work. Otherwise, spi_setup() will return unsupported mode bits error message if SPI_CS_HIGH is set in the mode field of struct spi_device. Signed-off-by: Axel Lin Signed-off-by: Mark Brown --- Reading git-diff-tree failed