diff options
author | Alexey Khoroshilov <[email protected]> | 2017-09-02 23:13:55 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2017-09-18 18:19:21 +0200 |
commit | c91261437985d481c472639d4397931d77f5d4e9 (patch) | |
tree | 0f729a21dcc74c6abb0e6a7bd472d6b461d7bd5c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 9d7ee0e28da59b05647c3d2a7ad4076c16b1a6ef (diff) |
serial: sccnxp: Fix error handling in sccnxp_probe()
sccnxp_probe() returns result of regulator_disable() that may lead
to returning zero, while device is not properly initialized.
Also the driver enables clocks, but it does not disable it.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions