OMAPDSS: DISPC: Fix the usage of wait_for_completion_timeout
authorChuansheng Liu <chuansheng.liu@intel.com>
Tue, 6 Nov 2012 17:21:20 +0000 (01:21 +0800)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 6 Nov 2012 11:29:45 +0000 (13:29 +0200)
commit864fa7f46162a32c7c18da0c15d04777aa34ac02
tree94441695a979b698a84121cd942c0ba9d1b1f060
parent230edc033d9ebb62c1db9579262089fdb2353ee9
OMAPDSS: DISPC: Fix the usage of wait_for_completion_timeout

The return value of wait_for_completion_timeout() is always
>= 0 with unsigned int type.

So the condition "ret < 0" or "ret >= 0" is pointless.

Signed-off-by: liu chuansheng <chuansheng.liu@intel.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/dispc.c
This page took 0.0297 seconds and 5 git commands to generate.