diff options
author | Axel Lin <axel.lin@ingics.com> | 2013-08-15 14:11:21 +0800 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-08-29 13:40:48 +0100 |
commit | 044d0bb620be2ecb02c7f8c2d4b547f7b7101811 (patch) | |
tree | 3d0d3bb36766323dc2be3ea01818480716c73e67 /drivers/w1/slaves/w1_ds2433.c | |
parent | d8dfad3876e4386666b759da3c833d62fb8b2267 (diff) | |
download | talos-obmc-linux-044d0bb620be2ecb02c7f8c2d4b547f7b7101811.tar.gz talos-obmc-linux-044d0bb620be2ecb02c7f8c2d4b547f7b7101811.zip |
spi: nuc900: Fix mode_bits setting
The code in nuc900_slave_select() supports handling SPI_CS_HIGH.
Thus set SPI_CS_HIGH bit in master->mode_bits to make it work.
Otherwise, spi_setup() will return unsupported mode bits error message if
SPI_CS_HIGH is set in the mode field of struct spi_device.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/w1/slaves/w1_ds2433.c')
0 files changed, 0 insertions, 0 deletions