spi: sh-msiof: Convert to let spi core validate xfer->bits_per_word
authorGeert Uytterhoeven <geert+renesas@linux-m68k.org>
Tue, 25 Feb 2014 10:21:12 +0000 (11:21 +0100)
committerMark Brown <broonie@linaro.org>
Thu, 27 Feb 2014 10:44:03 +0000 (19:44 +0900)
commit2416289c714343ea855e725d59d42668a9ab3cf6
tree9bc4cead95a07fdc2008d7e6d3b434adb3a46f61
parentc833ff7304511805ce5a3378d1637e39e00e00ea
spi: sh-msiof: Convert to let spi core validate xfer->bits_per_word

Set bits_per_word_mask so the spi core will reject transfers that attempt
to use an unsupported bits_per_word value.

Signed-off-by: Geert Uytterhoeven <geert+renesas@linux-m68k.org>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-sh-msiof.c