aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/surface/aggregator/controller.c
diff options
context:
space:
mode:
authorMiaoqian Lin <[email protected]>2023-04-14 06:05:20 +0000
committerDmitry Torokhov <[email protected]>2023-04-14 06:08:11 +0000
commit5bca3688bdbc3b58a2894b8671a8e2378efe28bd (patch)
tree448777c8d789e88cad6d8dde6feee5c8aae05c1c /drivers/platform/surface/aggregator/controller.c
parentInput: edt-ft5x06 - select REGMAP_I2C (diff)
downloadkernel-5bca3688bdbc3b58a2894b8671a8e2378efe28bd.tar.gz
kernel-5bca3688bdbc3b58a2894b8671a8e2378efe28bd.zip
Input: raspberrypi-ts - fix refcount leak in rpi_ts_probe
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: 0b9f28fed3f7 ("Input: add official Raspberry Pi's touchscreen driver") Fixes: 3b8ddff780b7 ("input: raspberrypi-ts: Release firmware handle when not needed") Signed-off-by: Miaoqian Lin <[email protected]> Reviewed-by: Mattijs Korpershoek <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'drivers/platform/surface/aggregator/controller.c')
0 files changed, 0 insertions, 0 deletions