spi/s3c64xx: Put the /CS GPIO into output mode
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 19 Jul 2012 05:36:16 +0000 (14:36 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Thu, 19 Jul 2012 05:36:16 +0000 (14:36 +0900)
commit707214d097eb505fe067668838ae800260a064ba
tree4fe97fcd6389432377dd3e5154dd2f278a52e783
parent49f3eacfcdab2e1cd381dc8e820bb6840787be00
spi/s3c64xx: Put the /CS GPIO into output mode

No call was being made by the GPIO driver to put the GPIO into output
mode meaning that the calls to gpio_set_value() which were being done
were not valid. A similar issue appears to exist with the DT GPIO
requests but as they appear to be being used for pinmux it's less clear
to me that we want to configure them.

Without this fix Cragganmore systems can't talk to their SPI devices.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
drivers/spi/spi-s3c64xx.c