diff options
| author | Vladimir Zapolskiy <[email protected]> | 2016-12-21 03:18:16 +0200 |
|---|---|---|
| committer | Guenter Roeck <[email protected]> | 2017-02-24 14:00:23 -0800 |
| commit | 027d89d96b6833f37091d858b9dcf92cd9b19aa7 (patch) | |
| tree | e808bda336f93d2bf47d99c7f131d891e30783c1 /tools/perf/scripts/python | |
| parent | f3519a662f5f8abf6411a238b1af08a0101878c7 (diff) | |
watchdog: sa11x0/pxa: fix error path of driver initialization
The change corrects release of captured resources on error path, namely
the clock is disabled and put if misc device registration fails and not
enabled clock is not disabled now.
Fixes: 6924089c488e ("watchdog: sa11x0/pxa: get rid of get_clock_tick_rate")
Signed-off-by: Vladimir Zapolskiy <[email protected]>
Acked-by: Robert Jarzmik <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Acked-by: Russell King <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions