]> git.baikalelectronics.ru Git - kernel.git/commit
spi: octeon: Convert to use bits_per_word_mask
authorAxel Lin <axel.lin@ingics.com>
Sun, 11 Aug 2013 15:09:43 +0000 (23:09 +0800)
committerMark Brown <broonie@linaro.org>
Tue, 20 Aug 2013 10:34:08 +0000 (11:34 +0100)
commit93e78c639fc45247142015cacb8d4e1320ce2728
tree0d9a6a88f95739ed5ab5d0196e841f989dff2478
parentcc228fbb5b78a2e0cbf5f42990cc47ef98aee397
spi: octeon: Convert to use bits_per_word_mask

Since commit c7217ac "spi: add ability to validate xfer->bits_per_word in SPI
core", the driver can set bits_per_word_mask for the master then the SPI core
will reject transfers that attempt to use an unsupported bits_per_word value.
So we can remove octeon_spi_validate_bpw() and let SPI core handle the checking.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-octeon.c