spi: s3c24xx: Convert to let spi core validate bits_per_word
authorAxel Lin <axel.lin@ingics.com>
Fri, 14 Feb 2014 12:38:16 +0000 (20:38 +0800)
committerMark Brown <broonie@linaro.org>
Fri, 14 Feb 2014 18:08:07 +0000 (18:08 +0000)
commit08850fa94831d374f4d827a85088f6087836dfc8
tree7942372abb1f8d37fd1888254bcbd4442896087a
parent38dbfb59d1175ef458d006556061adeaa8751b72
spi: s3c24xx: 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-s3c24xx.c