spi: nuc900: Set SPI_LSB_FIRST for master->mode_bits if hw->pdata->lsb is true
authorAxel Lin <axel.lin@ingics.com>
Mon, 20 Jan 2014 15:22:07 +0000 (23:22 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 22 Feb 2014 21:32:26 +0000 (13:32 -0800)
commit2376a9891b6658971bcc5c467acf3772f8a33eda
tree63538034e4f45bb4ca03357fcb8d9fdf607284e6
parent639558a469aacd66b586a52656e9d14e350483e4
spi: nuc900: Set SPI_LSB_FIRST for master->mode_bits if hw->pdata->lsb is true

commit f7db1588d6028c97c098bb6445eaabc56a25fed8 upstream.

Otherwise, spi_setup() fails with unsupported mode bits message.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/spi/spi-nuc900.c