drm/etnaviv: fix failure path if model is zero
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 24 Jan 2016 17:32:13 +0000 (17:32 +0000)
committerLucas Stach <l.stach@pengutronix.de>
Mon, 25 Jan 2016 13:23:51 +0000 (14:23 +0100)
commitf6427760a29ba3fd968e27ea567b1ebdd500740b
tree14c4ffd49d5a276ab2507f1849d3a1c6cbce7d26
parent339073ef77e45e87ec4cc8671b2d2328dcfd31f0
drm/etnaviv: fix failure path if model is zero

Fix the failure path to call pm_runtime_mark_last_busy() when failing
due to the model field being zero.

Acked-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
drivers/gpu/drm/etnaviv/etnaviv_gpu.c