diff options
author | Arvind Yadav <[email protected]> | 2017-05-31 12:27:44 +0530 |
---|---|---|
committer | Wolfram Sang <[email protected]> | 2017-06-19 16:28:58 +0200 |
commit | 56a6cb88657557edd84eabddd9f509d13b5b81c5 (patch) | |
tree | ea33863ed58da31f235a9ec3d6bc2575ae3d91f7 /tools/perf/util/c++/clang.cpp | |
parent | 5c8e3ab146de92800d516386cbb7040c90210b27 (diff) |
i2c: at91: Handle return value of clk_prepare_enable
clk_prepare_enable() can fail here and we must check its return value.
Also, add a missing clk_disable_unprepare().
Signed-off-by: Arvind Yadav <[email protected]>
Acked-by: Ludovic Desroches <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions