Skip to contentSkip to conversation

spi: s3c64xx: Remove duplicate code to clear S3C64XX_SPI_SLAVE_SEL register

PATCH Applied Axel Lin 2 participants 2 messages Jan 2, 2014

Subsystems (3)
lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 spi: s3c64xx: Remove duplicate code to clear S3C64XX_SPI_SLAVE_SEL register

---
 drivers/spi/spi-s3c64xx.c | 3 ---
 1 file changed, 3 deletions(-)
drivers/spi/spi-s3c64xx.c +0 -3
index 4c4b0a1..b4ea930 100644
@@ -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);
Signature · 8 lines
1.8.1.2



--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html