spi/gpio: start with CS non-active
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Thu, 9 Feb 2012 21:21:45 +0000 (22:21 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 10 Jul 2012 14:28:56 +0000 (15:28 +0100)
commit05644147064acabb8587c4cbd690047494f7b3a1
treeaa56a2853bce14e640a52cdf88f81084e80580d8
parent619ac8d3e582ccd806f24dcfc369c4c250ca9814
spi/gpio: start with CS non-active

The chip select line was configured as output with the initial value
being active explicitly. It was later deasserted during
spi_bitbang_setup() without any clock activity in between. So it makes
no sense to activate the device at all and the chip select line can
better start non-active.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/spi/spi-gpio.c