diff options
| author | Andy Shevchenko <[email protected]> | 2017-12-19 15:59:48 -0500 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2017-12-29 06:24:44 -0500 |
| commit | cae8b2e138fab548c9a55f022f8bab4cba300414 (patch) | |
| tree | 550886806627a3e9fb73bd2b96334188b8c0d948 /tools/perf/scripts/python | |
| parent | 5fac8da586d3c463d02813f2968ca7d74a7ef9a2 (diff) | |
media: staging: atomisp: Don't leak GPIO resources if clk_get() failed
In case devm_clk_get() call fails the previously requested GPIOs are
left requested.
Fix this by moving GPIO request code after devm_clk_get() call.
Signed-off-by: Andy Shevchenko <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions