aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/video/fbdev/omap/lcd_mipid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/omap/lcd_mipid.c b/drivers/video/fbdev/omap/lcd_mipid.c
index c81f150589e1..df9e6ebcfad5 100644
--- a/drivers/video/fbdev/omap/lcd_mipid.c
+++ b/drivers/video/fbdev/omap/lcd_mipid.c
@@ -174,7 +174,7 @@ static void hw_guard_wait(struct mipid_device *md)
174{ 174{
175 unsigned long wait = md->hw_guard_end - jiffies; 175 unsigned long wait = md->hw_guard_end - jiffies;
176 176
177 if ((long)wait > 0 && wait <= md->hw_guard_wait) { 177 if ((long)wait > 0 && time_before_eq(wait, md->hw_guard_wait)) {
178 set_current_state(TASK_UNINTERRUPTIBLE); 178 set_current_state(TASK_UNINTERRUPTIBLE);
179 schedule_timeout(wait); 179 schedule_timeout(wait);
180 } 180 }