diff options
author | Axel Lin <axel.lin@ingics.com> | 2014-01-02 20:19:02 +0800 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-01-02 12:23:37 +0000 |
commit | 0abd3e37e6b2c3ea77f7d8597b3f22ad42d8defc (patch) | |
tree | 64aaece23891fc4834420782c78995a757640272 /drivers/spi | |
parent | 95f3c4c3a6cfff2cfcee986487fa85062ed455fb (diff) | |
download | op-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>
Diffstat (limited to 'drivers/spi')
-rw-r--r-- | drivers/spi/spi-s3c64xx.c | 3 |
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); |