]> Pileus Git - ~andy/linux/commitdiff
spi: s3c64xx: Remove duplicate code to clear S3C64XX_SPI_SLAVE_SEL register
authorAxel Lin <axel.lin@ingics.com>
Thu, 2 Jan 2014 12:19:02 +0000 (20:19 +0800)
committerMark Brown <broonie@linaro.org>
Thu, 2 Jan 2014 12:23:37 +0000 (12:23 +0000)
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-s3c64xx.c

index 4c4b0a1219a715322d331b23232f8e92e61f92dc..b4ea9306cf35920022672b4492fec0fae08aa86a 100644 (file)
@@ -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);