]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6fa9c61aebf4115ae498652bdc869c3e4033ef92
tree14c4ffd49d5a276ab2507f1849d3a1c6cbce7d26
parent72f144fea41ff0f3a60b1319b77717d1b7f05491
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