spi: sun6i: Set bits_per_word_mask to only support 8 bits word length
authorAxel Lin <axel.lin@ingics.com>
Sun, 2 Mar 2014 14:25:58 +0000 (22:25 +0800)
committerMark Brown <broonie@linaro.org>
Tue, 4 Mar 2014 03:08:06 +0000 (11:08 +0800)
commit743a46b89a59abcc6566d9d90b1f28bfa666702e
tree31cd1569c74639cda2cc51a27857a778b10d3b36
parentba47644d5b79914fe53b69c639902afce8ccfe7f
spi: sun6i: Set bits_per_word_mask to only support 8 bits word length

This controller only supports 8 bits word length.
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>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-sun6i.c