commit | 9bf46f6df5d1e9db8b4b786d22e88d8b6edd949e | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Fri Feb 14 21:06:43 2014 +0800 |
committer | Mark Brown <broonie@linaro.org> | Sun Feb 23 12:53:21 2014 +0900 |
tree | a8c87a069b1cd79c713eeb1e3637c6ab62456aed | |
parent | 38dbfb59d1175ef458d006556061adeaa8751b72 [diff] |
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 <axel.lin@ingics.com> Acked-by: Michal Simek <michal.simek@xilinx.com> Signed-off-by: Mark Brown <broonie@linaro.org>