spi: sirf: set SPI controller in RISC IO chipselect mode
authorQipan Li <Qipan.Li@csr.com>
Mon, 14 Apr 2014 06:29:58 +0000 (14:29 +0800)
committerMark Brown <broonie@linaro.org>
Mon, 14 Apr 2014 20:02:54 +0000 (21:02 +0100)
commit625227a4e916fa87f1dd84bde518ef403c3f708a
tree94b3aba95ede7e32f87668490241ed62836b42cf
parent818e91625aa17161cd6b39a4d08b77c984f0f485
spi: sirf: set SPI controller in RISC IO chipselect mode

SPI bitbang supply "chipselect" interface for change chip-select line
, in the SiRFSoC SPI controller, we need to enable "SPI_CS_IO_MODE",
otherwise, spi_sirfsoc_chipselect() has no effect.
now the driver is working is because SPI controller will control CS
automatically without SPI_CS_IO_MODE. this patch makes the CS controller
really controlled by software.

Signed-off-by: Qipan Li <Qipan.Li@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-sirf.c