Commit 91051555 authored by Nicolas Saenz Julienne's avatar Nicolas Saenz Julienne Committed by sanglipeng
Browse files

input: raspberrypi-ts: Release firmware handle when not needed

stable inclusion
from stable-v5.10.180
commit 09bfd90d040fca9c0374af9b90f83e0f58e0b600
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8FC2O

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=09bfd90d040fca9c0374af9b90f83e0f58e0b600



--------------------------------

[ Upstream commit 3b8ddff7 ]

There is no use for the firmware interface after getting the touch
buffer address, so release it.

Signed-off-by: default avatarNicolas Saenz Julienne <nsaenzjulienne@suse.de>
Acked-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
Reviewed-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Stable-dep-of: 5bca3688 ("Input: raspberrypi-ts - fix refcount leak in rpi_ts_probe")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent 8e6f120f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment