diff options
author | Axel Lin <axel.lin@ingics.com> | 2014-03-28 16:37:54 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-03-29 11:15:53 +0100 |
commit | 5c5989ccd32c37890115a6dd5c03f39cba7f7beb (patch) | |
tree | 83ab8a511399d7bfd35772904acf25712de4ce50 /drivers/net/ethernet/broadcom/cnic.h | |
parent | spi: Remove duplicate code to check chip_select (diff) | |
download | linux-5c5989ccd32c37890115a6dd5c03f39cba7f7beb.tar.xz linux-5c5989ccd32c37890115a6dd5c03f39cba7f7beb.zip |
spi: mpc52xx: Convert to use bits_per_word_mask
This controller only supports 8-bit word length.
Set bits_per_word_mask so spi core will reject transfers that attempt to use
an unsupported bits_per_word value.
Also remove the duplicate code to test spi->mode, it is done by spi core.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/net/ethernet/broadcom/cnic.h')
0 files changed, 0 insertions, 0 deletions