]> git.baikalelectronics.ru Git - kernel.git/commit
mailbox: qcom-ipcc: Fix IPCC mbox channel exhaustion
authorSibi Sankar <sibis@codeaurora.org>
Wed, 16 Jun 2021 17:42:58 +0000 (23:12 +0530)
committerJassi Brar <jaswinder.singh@linaro.org>
Sat, 26 Jun 2021 16:40:29 +0000 (11:40 -0500)
commit98977d3ab6481de82825116fdf910323d498b152
tree9379e91a03d182fadd0d07ca105bce7bf7ae9996
parentf151eb3b32f7bdef0c5d1f6fec3d0977950b7637
mailbox: qcom-ipcc: Fix IPCC mbox channel exhaustion

Fix IPCC (Inter-Processor Communication Controller) channel exhaustion by
setting the channel private data to NULL on mbox shutdown.

Err Logs:
remoteproc: MBA booted without debug policy, loading mpss
remoteproc: glink-edge: failed to acquire IPC channel
remoteproc: failed to probe subdevices for remoteproc: -16

Fixes: bb8f5dbcc6df ("mailbox: Add support for Qualcomm IPCC")
Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
Cc: stable@vger.kernel.org
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
drivers/mailbox/qcom-ipcc.c