Re: [PATCH] Input: stmfts: fix ref count leak in stmfts_input_open

From: Markus Elfring
Date: Sun Jun 14 2020 - 05:33:57 EST


> in stmfts_input_open, â

* Can the term âreference countâ become relevant also for this commit message
besides other possible adjustments?

* Would you like to add the tag âFixesâ?


â
> +++ b/drivers/input/touchscreen/stmfts.c
â
> @@ -367,6 +367,9 @@ static int stmfts_input_open(struct input_dev *dev)
> }
>
> return 0;
> +out:
> + pm_runtime_put(&sdata->client->dev);
> + return err;
> }
â

Perhaps use the label âput_runtimeâ instead?

Regards,
Markus