]> git.karo-electronics.de Git - karo-tx-linux.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)
commita92e7c3d82a1313ab1954e5cdfd8f04efdb4ca78
treeef099f7f2fdb25db02300b670414a5d94a29e91b
parentaa4964c4eb3ed38666023bcb805403cb7cf2af63
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