]> git.baikalelectronics.ru Git - kernel.git/commit
input: raspberrypi-ts: Release firmware handle when not needed
authorNicolas Saenz Julienne <nsaenzjulienne@suse.de>
Mon, 18 Jan 2021 12:32:41 +0000 (13:32 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 May 2023 09:35:52 +0000 (11:35 +0200)
commitd6d01c06ae9c59d2608bbcc8971994e651c5f9a6
tree384117433a3c9c72af734fb4fe25bf1c3f83c40a
parent078a8311c6838500ad21d79cc3f56349db7c5b3c
input: raspberrypi-ts: Release firmware handle when not needed

[ Upstream commit 8b732b899b84b7701c501f2c87f92e399f1549e1 ]

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

Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Stable-dep-of: 5bca3688bdbc ("Input: raspberrypi-ts - fix refcount leak in rpi_ts_probe")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/input/touchscreen/raspberrypi-ts.c