]> git.karo-electronics.de Git - linux-beck.git/commit
spi: omap2-mcspi: Fix native cs with new set_cs
authorMichael Welling <mwelling@ieee.org>
Tue, 12 May 2015 17:38:57 +0000 (12:38 -0500)
committerMark Brown <broonie@kernel.org>
Tue, 12 May 2015 19:17:52 +0000 (20:17 +0100)
commitddcad7e9068ebc6526728df1f34f1dde4b7dbbab
tree08c54d9b8d9f5c3b1f2e2dedec8198d53245cc55
parentbc7f9bbc80bcc77745b3f54ec4e7103e3e142bb9
spi: omap2-mcspi: Fix native cs with new set_cs

GPIO chip select patch series appears to have broken the native chip select
support. This patch pulls the manual native chip select toggling out of
the transfer_one routine and adds a set_cs routine.

Tested natively on AM3354 with SPI serial flash on spi0cs0.

Reported-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Michael Welling <mwelling@ieee.org>
Tested-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-omap2-mcspi.c