diff options
-rw-r--r-- | drivers/spi/spi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c index 1b53eee2cbca..d5ee965fb285 100644 --- a/drivers/spi/spi.c +++ b/drivers/spi/spi.c | |||
@@ -892,7 +892,7 @@ static int spi_stop_queue(struct spi_master *master) | |||
892 | */ | 892 | */ |
893 | while ((!list_empty(&master->queue) || master->busy) && limit--) { | 893 | while ((!list_empty(&master->queue) || master->busy) && limit--) { |
894 | spin_unlock_irqrestore(&master->queue_lock, flags); | 894 | spin_unlock_irqrestore(&master->queue_lock, flags); |
895 | msleep(10); | 895 | usleep_range(10000, 11000); |
896 | spin_lock_irqsave(&master->queue_lock, flags); | 896 | spin_lock_irqsave(&master->queue_lock, flags); |
897 | } | 897 | } |
898 | 898 | ||