summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-fsl-lib.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2014-02-13 19:05:38 +0800
committerMark Brown <broonie@linaro.org>2014-02-23 13:14:39 +0900
commitf734394d861fe71eafa28d6c28199d9847c5a319 (patch)
treea9eb43efa726f4d5ceb4e36ada69b9fe0d2a78e2 /drivers/spi/spi-fsl-lib.c
parent4302a59629f7a0bd70fd1605d2b558597517372a (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>
Diffstat (limited to 'drivers/spi/spi-fsl-lib.c')
0 files changed, 0 insertions, 0 deletions