summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-cavium.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/spi/spi-cavium.c')
-rw-r--r--drivers/spi/spi-cavium.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/spi/spi-cavium.c b/drivers/spi/spi-cavium.c
index 5aaf21582cb5..6854c3ce423b 100644
--- a/drivers/spi/spi-cavium.c
+++ b/drivers/spi/spi-cavium.c
@@ -119,8 +119,7 @@ static int octeon_spi_do_transfer(struct octeon_spi *p,
*rx_buf++ = (u8)v;
}
- if (xfer->delay_usecs)
- udelay(xfer->delay_usecs);
+ spi_transfer_delay_exec(xfer);
return xfer->len;
}