summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-pxa2xx.h
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2017-07-27 18:49:33 +0300
committerMark Brown <broonie@kernel.org>2017-07-28 13:33:18 +0100
commitd35f2dc9a2a84f4985d8b16b47040fd6291788ad (patch)
treef3b69e50dd090bbe8f8e6f8077a8e9958c4c4b1d /drivers/spi/spi-pxa2xx.h
parent6ac5a435ae6739c06ebbf79939e86e721b88a90f (diff)
downloadblackbird-op-linux-d35f2dc9a2a84f4985d8b16b47040fd6291788ad.tar.gz
blackbird-op-linux-d35f2dc9a2a84f4985d8b16b47040fd6291788ad.zip
spi: pxa2xx: Don't touch CS pin until we have a transfer pending
GPIO descriptors, when being requested, may configure pin at the same time. In case of SPI chip select we shouldn't do any assumptions of the state of pin since we don't know yet what chip is connected there and if it uses high or low active state. So, leave the state of pin as is until transfer will start. Fixes: 99f499cd6504 ("spi: pxa2xx: Add support for GPIO descriptor chip selects") Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: Mika Westeberg <mika.westerberg@linux.intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-pxa2xx.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud