diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/spi/imx_cspi.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/spi/imx_cspi.c b/drivers/spi/imx_cspi.c index 51238eb..a4a3049 100644 --- a/drivers/spi/imx_cspi.c +++ b/drivers/spi/imx_cspi.c @@ -227,9 +227,7 @@ int spi_xfer(struct spi_slave *slave, unsigned int bitlen, const void *dout, while ((val-- > 0) && (((reg = readl(dev->base + SPI_STAT_REG)) & SPI_INT_STAT_TC) == - 0)) { - udelay(100); - } + 0)); /* clear the TC bit */ writel(reg | SPI_INT_STAT_TC, dev->base + SPI_STAT_REG); |