mailbox: qcom-ipcc: Fix IPCC mbox channel exhaustion
authorSibi Sankar <sibis@codeaurora.org>
Wed, 16 Jun 2021 17:42:58 +0000 (23:12 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Jul 2021 14:56:53 +0000 (16:56 +0200)
commitb9c3b485593e07ed217cb6970d6c651558e4afb1
tree0518ed787da4b757bf1cea68d5762b85d2733ddf
parent2a7c96c2e238820a5268769b6fef50a24eb574ce
mailbox: qcom-ipcc: Fix IPCC mbox channel exhaustion

commit d6fbfdbc12745ce24bcd348dbf7e652353b3e59c upstream.

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: fa74a0257f45 ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mailbox/qcom-ipcc.c