diff options
author | Axel Lin <axel.lin@ingics.com> | 2014-02-14 17:06:43 +0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-02-23 07:53:21 +0400 |
commit | 9bf46f6df5d1e9db8b4b786d22e88d8b6edd949e (patch) | |
tree | a8c87a069b1cd79c713eeb1e3637c6ab62456aed /include/linux/crc-ccitt.h | |
parent | 38dbfb59d1175ef458d006556061adeaa8751b72 (diff) | |
download | linux-9bf46f6df5d1e9db8b4b786d22e88d8b6edd949e.tar.xz |
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>
Diffstat (limited to 'include/linux/crc-ccitt.h')
0 files changed, 0 insertions, 0 deletions