]> git.karo-electronics.de Git - linux-beck.git/commit
spi: altera: Use bits_per_word_mask
authorAxel Lin <axel.lin@ingics.com>
Wed, 5 Mar 2014 05:37:00 +0000 (13:37 +0800)
committerMark Brown <broonie@linaro.org>
Thu, 13 Mar 2014 09:55:28 +0000 (09:55 +0000)
commit72bb79d042375586c4ad8def57d7932064d76090
tree6ab74328c05be5e87c873d37e6c34cd4b3480d15
parent38dbfb59d1175ef458d006556061adeaa8751b72
spi: altera: Use bits_per_word_mask

This driver does not work for bits_per_word greater than 16.
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-altera.c