summaryrefslogtreecommitdiff
path: root/include/video
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2016-05-04 11:43:18 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2016-05-10 11:42:25 +0300
commitcc6df3a24587b3c9f191e34ffb67e269766e2ffc (patch)
tree8a7c925440f444a1fb44477415b2e8a47e41b7ed /include/video
parent46ffe1097bc05d6ca8c5b293cbfe167d17447af1 (diff)
video: fbdev: imxfb: add some error handling
clk_prepare_enable can fail and if it does the controller must not be considered enabled. So check for errors, properly unwind and give the error code back to the caller. While touching the clock code also enable the clocks in the same direction and disable in reverse order. Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'include/video')
0 files changed, 0 insertions, 0 deletions