aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace
diff options
context:
space:
mode:
authorZhang Qilong <[email protected]>2020-11-02 10:26:50 +0800
committerGreg Kroah-Hartman <[email protected]>2020-11-06 12:06:58 +0100
commit00bd6bca3fb1e98190a24eda2583062803c9e8b5 (patch)
treecacda820f2c7a5f09858a4df7dacc35a62e01cb3 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace
parent20914919ad31849ee2b9cfe0428f4a20335c9e2a (diff)
USB: apple-mfi-fastcharge: fix reference leak in apple_mfi_fc_set_property
pm_runtime_get_sync() will increment pm usage at first and it will resume the device later. If runtime of the device has error or device is in inaccessible state(or other error state), resume operation will fail. If we do not call put operation to decrease the reference, the result is that this device cannot enter the idle state and always stay busy or other non-idle state. Fixes: 249fa8217b846 ("USB: Add driver to control USB fast charge for iOS devices") Signed-off-by: Zhang Qilong <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace')
0 files changed, 0 insertions, 0 deletions