]> Git Repo - linux.git/commit
Input: stmfts - fix reference leak in stmfts_input_open
authorZheng Yongjun <[email protected]>
Mon, 21 Mar 2022 04:56:38 +0000 (21:56 -0700)
committerDmitry Torokhov <[email protected]>
Mon, 21 Mar 2022 04:59:43 +0000 (21:59 -0700)
commit26623eea0da3476446909af96c980768df07bbd9
tree35aaddc5470bc00c0266b7e82d4676c781450566
parent409353cbe9fe48f6bc196114c442b1cff05a39bc
Input: stmfts - fix reference leak in stmfts_input_open

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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dmitry Torokhov <[email protected]>
drivers/input/touchscreen/stmfts.c
This page took 0.057799 seconds and 4 git commands to generate.