spi: s3c64xx: group the CS signalling writes in a single function
authorAndi Shyti <andi.shyti@samsung.com>
Tue, 28 Jun 2016 02:41:11 +0000 (11:41 +0900)
committerMark Brown <broonie@kernel.org>
Wed, 29 Jun 2016 21:45:15 +0000 (22:45 +0100)
commitaa4964c4eb3ed38666023bcb805403cb7cf2af63
tree2218855fff6330f9788854fa92855078a6d85807
parent1a695a905c18548062509178b98bc91e67510864
spi: s3c64xx: group the CS signalling writes in a single function

To enable/disable the CS line, the driver performs a writel in
the S3C64XX_SPI_SLAVE_SEL registers. Group the register's
configuration in a single function.

Signed-off-by: Andi Shyti <andi.shyti@samsung.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-s3c64xx.c