]> git.baikalelectronics.ru Git - kernel.git/commit
spi: s3c64xx: consider the case when the CS line is not connected
authorAndi Shyti <andi.shyti@samsung.com>
Tue, 28 Jun 2016 02:41:12 +0000 (11:41 +0900)
committerMark Brown <broonie@kernel.org>
Wed, 29 Jun 2016 21:45:23 +0000 (22:45 +0100)
commit81b77ca40a42ed44d4255dda495a4e5ea5170b92
treeef099f7f2fdb25db02300b670414a5d94a29e91b
parentd54a72014dc33d47018e33524cc4f056d9636aed
spi: s3c64xx: consider the case when the CS line is not connected

When the CS line is not connected, it is not needed to enable or
disable the chip selection functionality from the s3c64xx
devices in order to perform a transfer.
Set the CS controller logically always enabled already during
initialization (by writing '0' in the S3C64XX_SPI_SLAVE_SEL
register) and never disable it.

Signed-off-by: Andi Shyti <andi.shyti@samsung.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/spi/spi-samsung.txt
drivers/spi/spi-s3c64xx.c
include/linux/platform_data/spi-s3c64xx.h