Files
linux/drivers/spi
Gabor Juhos cb67b44a0d spi: spi-ath79: fix initial GPIO CS line setup
commit 61d1cf163c upstream.

The 'ath79_spi_setup_cs' function initializes the chip
select line of a given SPI device in order to make sure
that the device is inactive.

If the SPI_CS_HIGH bit is set for a given device, it
means that the CS line of that device is active HIGH
so it must be set to LOW initially. In case of GPIO
CS lines, the 'ath79_spi_setup_cs' function does the
opposite of that due to the wrong GPIO flags.

Fix the code to use the correct GPIO flags.

Reported-by: Ronald Wahl <ronald.wahl@raritan.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-03-23 21:38:16 -07:00
..
2013-04-07 10:08:00 +01:00
2011-06-06 01:16:30 -06:00
2011-09-21 09:41:48 -06:00
2013-02-05 13:17:12 +00:00
2011-06-06 01:16:30 -06:00
2011-06-06 01:16:30 -06:00
2013-06-04 18:51:40 +01:00
2013-04-23 19:27:00 +01:00
2013-04-07 10:08:00 +01:00
2013-04-01 14:32:32 +01:00