spi: pxa2xx: Save other reg_cs_ctrl bits when configuring chip select
authorJarkko Nikula <jarkko.nikula@linux.intel.com>
Thu, 22 Oct 2015 13:44:42 +0000 (16:44 +0300)
committerMark Brown <broonie@kernel.org>
Thu, 22 Oct 2015 23:56:05 +0000 (08:56 +0900)
commit0e8972187971ac6c29a9e5899fa6c555c739237c
tree2067ce59b0f5ecee77427f9a3f378ede11d90489
parent3b8b6d05942ef5dd952674e7420600f762166e22
spi: pxa2xx: Save other reg_cs_ctrl bits when configuring chip select

Upcoming Intel platforms use LPSS SPI_CS_CONTROL register bits 15:12 for
configuring the chip select polarities. Touch only chip select SW mode and
state bits when enabling the software chip select control in order to not
clear any other bits in the register.

Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-pxa2xx.c