commit | f79cc88e4e7a673cd1b068c46cbbed97cce5f6da | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Sun Aug 11 23:09:43 2013 +0800 |
committer | Mark Brown <broonie@linaro.org> | Tue Aug 20 11:34:08 2013 +0100 |
tree | 0d9a6a88f95739ed5ab5d0196e841f989dff2478 | |
parent | a35c6bea8288d526aa0fe4180884e01945d307ab [diff] |
spi: octeon: Convert to use bits_per_word_mask Since commit 543bb25 "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>