From: Axel Lin Date: Fri, 14 Feb 2014 13:06:43 +0000 (+0800) Subject: spi: xilinx: Convert to let spi core validate bits_per_word X-Git-Tag: v3.15-rc1~147^2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9bf46f6df5d1e9db8b4b786d22e88d8b6edd949e;p=pandora-kernel.git spi: xilinx: Convert to let spi core validate bits_per_word Set bits_per_word_mask so spi core will reject transfers that attempt to use an unsupported bits_per_word value. spi_bitbang requires custom setup_transfer() to be defined if there is a custom txrx_bufs(). Thus keep the empty xilinx_spi_setup_transfer() function in the code. Signed-off-by: Axel Lin Acked-by: Michal Simek Signed-off-by: Mark Brown --- Reading git-diff-tree failed