summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2014-01-02 20:19:02 +0800
committerMark Brown <broonie@linaro.org>2014-01-02 12:23:37 +0000
commit0abd3e37e6b2c3ea77f7d8597b3f22ad42d8defc (patch)
tree64aaece23891fc4834420782c78995a757640272
parent95f3c4c3a6cfff2cfcee986487fa85062ed455fb (diff)
downloadop-kernel-dev-0abd3e37e6b2c3ea77f7d8597b3f22ad42d8defc.zip
op-kernel-dev-0abd3e37e6b2c3ea77f7d8597b3f22ad42d8defc.tar.gz
spi: s3c64xx: Remove duplicate code to clear S3C64XX_SPI_SLAVE_SEL register
Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@linaro.org>
-rw-r--r--drivers/spi/spi-s3c64xx.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/spi/spi-s3c64xx.c b/drivers/spi/spi-s3c64xx.c
index 4c4b0a1..b4ea930 100644
--- a/drivers/spi/spi-s3c64xx.c
+++ b/drivers/spi/spi-s3c64xx.c
@@ -927,9 +927,6 @@ static int s3c64xx_spi_transfer_one(struct spi_master *master,
/* Start the signals */
writel(0, sdd->regs + S3C64XX_SPI_SLAVE_SEL);
- /* Start the signals */
- writel(0, sdd->regs + S3C64XX_SPI_SLAVE_SEL);
-
spin_unlock_irqrestore(&sdd->lock, flags);
status = wait_for_xfer(sdd, xfer, use_dma);
OpenPOWER on IntegriCloud