]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
spi: omap2-mcspi: Remove unnecessary delay
authorMichael Welling <mwelling@ieee.org>
Sun, 24 May 2015 02:13:42 +0000 (21:13 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 25 May 2015 12:00:04 +0000 (13:00 +0100)
The core spi driver handles the delay between transactions.
This is a remanant from the transfer_one conversion.

Signed-off-by: Michael Welling <mwelling@ieee.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-omap2-mcspi.c

index a7d85c5ab2fa6a470511ab8ca1d3ba2a5bd246d5..304b427db95d1e90a37034a76f9252a6aa1a0bb6 100644 (file)
@@ -1163,9 +1163,6 @@ static int omap2_mcspi_work_one(struct omap2_mcspi *mcspi,
                }
        }
 
-       if (t->delay_usecs)
-               udelay(t->delay_usecs);
-
        omap2_mcspi_set_enable(spi, 0);
 
        if (mcspi->fifo_depth > 0)