spi/s3c64xx: Factor transfer start out of enable/disable_cs()
[firefly-linux-kernel-4.4.55.git] / drivers / spi / spi-s3c64xx.c
index e6312322f66a8997c1b5b0a7d765316291b3ab57..8e732a1b8a9b466c1af0320a17a62bb1f9d556b1 100644 (file)
@@ -927,6 +927,9 @@ static int s3c64xx_spi_transfer_one_message(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);