commit | f734394d861fe71eafa28d6c28199d9847c5a319 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Thu Feb 13 19:05:38 2014 +0800 |
committer | Mark Brown <broonie@linaro.org> | Sun Feb 23 13:14:39 2014 +0900 |
tree | a9eb43efa726f4d5ceb4e36ada69b9fe0d2a78e2 | |
parent | 4302a59629f7a0bd70fd1605d2b558597517372a [diff] |
spi: fsl-spi: Convert to let spi core validate xfer->bits_per_word Set bits_per_word_mask so spi core will reject transfers that attempt to use an unsupported bits_per_word value. fsl_spi_grlib_probe() may update mpc8xxx_spi->max_bits_per_word setting. So set master->bits_per_word_mask after fsl_spi_grlib_probe(). Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@linaro.org>