linux/drivers/soc/qcom
Maulik Shah f8b0407f6a soc: qcom: rpmh-rsc: Set suppress_bind_attrs flag
[ Upstream commit 1a53ce9ab4 ]

rpmh-rsc driver is fairly core to system and should not be removable
once its probed. However it allows to unbind driver from sysfs using
below command which results into a crash on sc7180.

echo 18200000.rsc > /sys/bus/platform/drivers/rpmh/unbind

Lets prevent unbind at runtime by setting suppress_bind_attrs flag.

Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
Link: https://lore.kernel.org/r/1592808805-2437-1-git-send-email-mkshah@codeaurora.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-08-19 08:15:59 +02:00
..
Kconfig
Makefile
apr.c
cmd-db.c
glink_ssr.c
llcc-sdm845.c
llcc-slice.c
mdt_loader.c
qcom-geni-se.c
qcom_aoss.c
qcom_gsbi.c
qmi_encdec.c
qmi_interface.c
rmtfs_mem.c
rpmh-internal.h
rpmh-rsc.c soc: qcom: rpmh-rsc: Set suppress_bind_attrs flag 2020-08-19 08:15:59 +02:00
rpmh.c soc: qcom: rpmh: Dirt can only make you dirtier, not cleaner 2020-07-29 10:18:25 +02:00
rpmhpd.c
rpmpd.c
smd-rpm.c
smem.c
smem_state.c
smp2p.c
smsm.c
socinfo.c
spm.c
trace-rpmh.h
wcnss_ctrl.c