aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/touchscreen/ads7846.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/ads7846.c b/drivers/input/touchscreen/ads7846.c
index 8670cd13bd5d..bdec112e89c4 100644
--- a/drivers/input/touchscreen/ads7846.c
+++ b/drivers/input/touchscreen/ads7846.c
@@ -449,7 +449,7 @@ ads7846_suspend(struct spi_device *spi, pm_message_t message)
449 449
450 while (ts->pendown || ts->pending) { 450 while (ts->pendown || ts->pending) {
451 spin_unlock_irqrestore(&ts->lock, flags); 451 spin_unlock_irqrestore(&ts->lock, flags);
452 udelay(10); 452 msleep(1);
453 spin_lock_irqsave(&ts->lock, flags); 453 spin_lock_irqsave(&ts->lock, flags);
454 } 454 }
455 } 455 }