linux-stable/drivers/input
Miaoqian Lin 9dbbe9db22 Input: raspberrypi-ts - fix refcount leak in rpi_ts_probe
[ Upstream commit 5bca3688bd ]

rpi_firmware_get() take reference, we need to release it in error paths
as well. Use devm_rpi_firmware_get() helper to handling the resources.
Also remove the existing rpi_firmware_put().

Fixes: 0b9f28fed3 ("Input: add official Raspberry Pi's touchscreen driver")
Fixes: 3b8ddff780 ("input: raspberrypi-ts: Release firmware handle when not needed")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Link: https://lore.kernel.org/r/20221223074657.810346-1-linmq006@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-05-11 23:11:28 +09:00
..
gameport input: drop empty comment blocks 2022-09-29 16:25:42 -07:00
joystick Input: xpad - fix incorrectly applied patch for MAP_PROFILE_BUTTON 2023-04-06 12:12:40 +02:00
keyboard treewide: Convert del_timer*() to timer_shutdown*() 2022-12-25 13:38:09 -08:00
misc xen: branch for v6.2-rc4 2023-01-12 17:02:20 -06:00
mouse Input: focaltech - use explicitly signed char type 2023-04-06 12:12:40 +02:00
rmi4 Input: rmi_smbus - Convert to i2c's .probe_new() 2022-12-02 14:53:43 -08:00
serio Input: i8042 - add quirk for Fujitsu Lifebook A574/H 2023-04-06 12:12:41 +02:00
tablet Input: pegasus-notetaker - check pipe type when probing 2023-04-26 14:30:08 +02:00
touchscreen Input: raspberrypi-ts - fix refcount leak in rpi_ts_probe 2023-05-11 23:11:28 +09:00
apm-power.c
evbug.c
evdev.c
ff-core.c input: drop empty comment blocks 2022-09-29 16:25:42 -07:00
ff-memless.c input: drop empty comment blocks 2022-09-29 16:25:42 -07:00
input-compat.c
input-compat.h
input-core-private.h Input: deactivate MT slots when inhibiting or suspending devices 2022-07-20 11:35:13 -07:00
input-leds.c
input-mt.c Input: deactivate MT slots when inhibiting or suspending devices 2022-07-20 11:35:13 -07:00
input-poller.c
input-poller.h
input.c Driver Core changes for 6.2-rc1 2022-12-16 03:54:54 -08:00
joydev.c Input: joydev - fix comment typo 2022-09-25 00:57:25 -07:00
Kconfig Input: extract ChromeOS vivaldi physmap show function 2022-03-14 21:11:09 -07:00
Makefile Input: extract ChromeOS vivaldi physmap show function 2022-03-14 21:11:09 -07:00
matrix-keymap.c
mousedev.c
sparse-keymap.c
touchscreen.c Input: touchscreen - avoid bitwise vs logical OR warning 2021-10-15 22:22:54 -07:00
vivaldi-fmap.c Input: extract ChromeOS vivaldi physmap show function 2022-03-14 21:11:09 -07:00