android_kernel_motorola_sm6375/drivers/firmware
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Johan Hovold f08cbec8ce firmware: meson_sm: fix device leak at probe
commit 8ece3173f87df03935906d0c612c2aeda9db92ca upstream.

Make sure to drop the reference to the secure monitor device taken by
of_find_device_by_node() when looking up its driver data on behalf of
other drivers (e.g. during probe).

Note that holding a reference to the platform device does not prevent
its driver data from going away so there is no point in keeping the
reference after the helper returns.

Fixes: 8cde3c2153e8 ("firmware: meson_sm: Rework driver as a proper platform driver")
Cc: stable@vger.kernel.org	# 5.5
Cc: Carlo Caione <ccaione@baylibre.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Acked-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Link: https://lore.kernel.org/r/20250725074019.8765-1-johan@kernel.org
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-10-29 13:59:52 +01:00
..
arm_scmi firmware: arm_scmi: Harden accesses to the reset domains 2024-05-25 16:17:17 +02:00
broadcom
efi tpm: fix signed/unsigned bug when checking event logs 2024-12-14 19:44:24 +01:00
google firmware: google: Unregister driver_info on failure 2024-12-14 19:44:23 +01:00
imx firmware: imx-scu: fix OF node leak in .probe() 2025-04-10 14:29:37 +02:00
meson firmware: meson_sm: fix device leak at probe 2025-10-29 13:59:52 +01:00
psci firmware: psci: Fix refcount leak in psci_dt_init 2025-06-27 11:02:46 +01:00
tegra firmware: tegra: bpmp: Drop unused mbox_client_to_bpmp() 2024-11-08 16:20:39 +01:00
xilinx
arm_scpi.c firmware: arm_scpi: Check the DVFS OPP count returned by the firmware 2024-12-14 19:44:24 +01:00
arm_sdei.c firmware: arm_sdei: Fix the input parameter of cpuhp_remove_state() 2024-11-08 16:20:53 +01:00
dmi-id.c firmware: dmi-id: add a release callback function 2024-06-16 13:28:41 +02:00
dmi-sysfs.c
dmi_scan.c firmware: dmi: Stop decoding on broken entry 2024-07-18 11:40:48 +02:00
edd.c
iscsi_ibft.c iscsi_ibft: Fix UBSAN shift-out-of-bounds warning in ibft_attr_show_nic() 2025-04-10 14:29:36 +02:00
iscsi_ibft_find.c
Kconfig firmware: iscsi_ibft: fix ISCSI_IBFT Kconfig entry 2025-03-13 12:43:05 +01:00
Makefile
memmap.c
pcdp.c
pcdp.h
qcom_scm-32.c
qcom_scm-64.c
qcom_scm.c
qcom_scm.h
qemu_fw_cfg.c
raspberrypi.c firmware: raspberrypi: Use correct device for DMA mappings 2024-06-16 13:28:32 +02:00
scpi_pm_domain.c
stratix10-rsu.c
stratix10-svc.c
ti_sci.c
ti_sci.h
trusted_foundations.c
turris-mox-rwtm.c firmware: turris-mox-rwtm: Initialize completion before mailbox 2024-08-19 05:33:28 +02:00