]> git.baikalelectronics.ru Git - kernel.git/commit
mailbox: qcom-ipcc: Enable loading QCOM_IPCC as a module
authorAmit Pundir <amit.pundir@linaro.org>
Fri, 16 Jul 2021 07:49:46 +0000 (13:19 +0530)
committerJassi Brar <jaswinder.singh@linaro.org>
Mon, 30 Aug 2021 04:50:15 +0000 (23:50 -0500)
commitb45f9ec50bed8d62733ff2e3b9840d75a4c5df34
tree988ebce7e09d7eb8b3536dbf2d543649ff021368
parent06ef7ae72e918794f399be5351c48a47fbbecd9d
mailbox: qcom-ipcc: Enable loading QCOM_IPCC as a module

This patch enables the qcom_ipcc driver to be loaded as a
module. IPCC is fairly core to system, so as such it should
never be unloaded. It registers as a mailbox + irq controller
and the irq controller drivers in kernel are not supposed to
be unloaded as they don't have the visibility over the clients
consuming the irqs. Hence adding supress_bind_attrs to disable
bind/unbind via sysfs.

Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
drivers/mailbox/Kconfig
drivers/mailbox/qcom-ipcc.c