kernel_samsung_a53x/drivers/soc/qcom
Uwe Kleine-König 5fca32c6e2 soc: qcom: llcc: Handle a second device without data corruption
[ Upstream commit f1a1bc8775b26345aba2be278118999e7f661d3d ]

Usually there is only one llcc device. But if there were a second, even
a failed probe call would modify the global drv_data pointer. So check
if drv_data is valid before overwriting it.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Fixes: a3134fb09e0b ("drivers: soc: Add LLCC driver")
Link: https://lore.kernel.org/r/20230926083229.2073890-1-u.kleine-koenig@pengutronix.de
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-18 11:43:02 +01:00
..
apr.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cmd-db.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cpr.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kryo-l2-accessors.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
llcc-qcom.c soc: qcom: llcc: Handle a second device without data corruption 2024-11-18 11:43:02 +01:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mdt_loader.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ocmem.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pdr_interface.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pdr_internal.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qcom-geni-se.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qcom_aoss.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qcom_gsbi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qmi_encdec.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qmi_interface.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rmtfs_mem.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rpmh-internal.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rpmh-rsc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rpmh.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rpmhpd.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rpmpd.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
smd-rpm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
smem.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
smem_state.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
smp2p.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
smsm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
socinfo.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
trace-rpmh.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
wcnss_ctrl.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00