]> git.karo-electronics.de Git - karo-tx-linux.git/commit
spi: sh-hspi: Convert to let spi core validate bits_per_word
authorAxel Lin <axel.lin@ingics.com>
Wed, 12 Feb 2014 14:09:52 +0000 (22:09 +0800)
committerMark Brown <broonie@linaro.org>
Sun, 23 Feb 2014 03:44:49 +0000 (12:44 +0900)
commit4522193698d115761f9e4f340697f86975ac8e69
tree67bdb7b4760bb4caf7200a0917a39644629a3d56
parent38dbfb59d1175ef458d006556061adeaa8751b72
spi: sh-hspi: 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.

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