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>
Wed, 24 Oct 2012 09:08:11 +0000 (12:08 +0300)
commit85a82b271840cadf402c9a164db37fd8601aa6fa
treed9ec1db00fdd26ad998bf130034cbbcfc148b245
parentdac0cadaffb4253f752d49bbddc5741626588aec
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