spi: dw: add support for gpio controlled chip select
authorBaruch Siach <baruch@tkos.co.il>
Fri, 31 Jan 2014 10:07:47 +0000 (12:07 +0200)
committerMark Brown <broonie@linaro.org>
Thu, 24 Apr 2014 17:09:05 +0000 (18:09 +0100)
commitd9c73bb8a3a5e4b76d2ad55da00d9ea776475c81
treef711caf00b7025672dc919e5896a597535588111
parent20e5ea191524b482e1b4aa12b5ff4684717f44b8
spi: dw: add support for gpio controlled chip select

Also, use this opportunity to let spi_chip_sel() handle chip-select
deactivation as well.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-dw-mmio.c
drivers/spi/spi-dw.c
drivers/spi/spi-dw.h