Commit 824de53d authored by Andrew Morton's avatar Andrew Morton Committed by James Toy

simplify lcd_disable_raster()

Cc: Krzysztof Helt <krzysztof.h1@wp.pl>
Cc: Pavel Kiryukhin <pkiryukhin@ru.mvista.com>
Cc: Steve Chen <schen@mvista.com>
Cc: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent 50676bd7
......@@ -201,8 +201,6 @@ static int lcd_disable_raster(struct da8xx_fb_par *par)
ret = wait_event_interruptible_timeout(par->da8xx_wq,
!lcdc_read(LCD_STAT_REG) &
LCD_END_OF_FRAME0, WSI_TIMEOUT);
if (ret < 0)
return ret;
if (ret == 0)
ret = -ETIMEDOUT;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment