]> Git Repo - linux.git/commitdiff
spi: s3c64xx: Remove duplicate code to clear S3C64XX_SPI_SLAVE_SEL register
authorAxel Lin <[email protected]>
Thu, 2 Jan 2014 12:19:02 +0000 (20:19 +0800)
committerMark Brown <[email protected]>
Thu, 2 Jan 2014 12:23:37 +0000 (12:23 +0000)
Signed-off-by: Axel Lin <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
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);
This page took 0.056608 seconds and 4 git commands to generate.