OMAPDSS: DISPC: fix loop in error handler
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 24 Oct 2012 06:20:40 +0000 (09:20 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 29 Oct 2012 10:44:43 +0000 (12:44 +0200)
commit4c6c65b013a20054585dfca5cfbf3a2f6393ab50
tree2416dcb9bcf12d43540d438a4f3b6467d2ee3e70
parent901e5fe5a47d360a8ad6b5fbbe37e107ddb11662
OMAPDSS: DISPC: fix loop in error handler

The dispc's error handler has a loop inside another loop, and both use
the same loop variable. This is clearly wrong, and this patch makes a
new variable for the inner loop.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/dispc.c