diff options
author | Zhang Qilong <zhangqilong3@huawei.com> | 2020-11-19 17:11:26 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-11-26 23:19:58 +0300 |
commit | 6e4e636e0e3e0b5deffc5e233adcb2cd4e68f2d0 (patch) | |
tree | e1f630d09f7acb2157f2c41285aa8cddf0b7c333 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 3b3e23092449a57f4ba57cd60506ab14055b1642 (diff) | |
download | linux-6e4e636e0e3e0b5deffc5e233adcb2cd4e68f2d0.tar.xz |
serial: 8250-mtk: Fix reference leak in mtk8250_probe
The pm_runtime_enable will increase power disable depth.
Thus a pairing decrement is needed on the error handling
path to keep it balanced according to context.
Fixes: e32a83c70cf98 ("serial: 8250-mtk: modify mtk uart power and clock management")
Signed-off-by: Zhang Qilong <zhangqilong3@huawei.com>
Link: https://lore.kernel.org/r/20201119141126.168850-1-zhangqilong3@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions