diff options
author | Zheng Yongjun <zhengyongjun3@huawei.com> | 2022-03-21 07:56:38 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-05-25 10:17:52 +0300 |
commit | 5565fc538ded8961c9d885ad37200ee72a7bd1a2 (patch) | |
tree | c1b06815096f90a2fd249766bfd594c810d74cad /drivers/input/touchscreen/wacom_i2c.c | |
parent | d5e88c2d76efa9d7bb7ceffaec60fe6c76c748d7 (diff) | |
download | linux-5565fc538ded8961c9d885ad37200ee72a7bd1a2.tar.xz |
Input: stmfts - fix reference leak in stmfts_input_open
[ Upstream commit 26623eea0da3476446909af96c980768df07bbd9 ]
pm_runtime_get_sync() will increment pm usage counter even it
failed. Forgetting to call pm_runtime_put_noidle will result
in reference leak in stmfts_input_open, so we should fix it.
Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
Link: https://lore.kernel.org/r/20220317131604.53538-1-zhengyongjun3@huawei.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/input/touchscreen/wacom_i2c.c')
0 files changed, 0 insertions, 0 deletions