diff options
author | Uwe Kleine-König <[email protected]> | 2016-05-04 11:43:18 +0200 |
---|---|---|
committer | Tomi Valkeinen <[email protected]> | 2016-05-10 11:42:25 +0300 |
commit | cc6df3a24587b3c9f191e34ffb67e269766e2ffc (patch) | |
tree | 8a7c925440f444a1fb44477415b2e8a47e41b7ed /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 46ffe1097bc05d6ca8c5b293cbfe167d17447af1 (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 <[email protected]>
Signed-off-by: Uwe Kleine-König <[email protected]>
Signed-off-by: Tomi Valkeinen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions