spi: Ensure that CS line is in non-active state after spi_setup()
authorIvan T. Ivanov <iivanov@mm-sol.com>
Fri, 13 Mar 2015 16:43:49 +0000 (18:43 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 16 Mar 2015 14:06:48 +0000 (14:06 +0000)
commit1a7b7ee72c218ce9bff274ade13b96ea03eed03d
treeda5baf5fb5b3a790b4fb0bb102a074e3ff6d3a8f
parentc517d838eb7d07bbe9507871fab3931deccff539
spi: Ensure that CS line is in non-active state after spi_setup()

Some devices samples state of the chip select signal during power up
and act differently based on this state, so SPI core should ensure
that CS line is driven in non-active state after spi_setup().

Signed-off-by: Ivan T. Ivanov <iivanov@mm-sol.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi.c