]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6dcadbc654f99d450bbb7a193b9552d7543857ea
treeda5baf5fb5b3a790b4fb0bb102a074e3ff6d3a8f
parentb7d65746744b343701de14ca433982a3229390be
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