linux-stable/drivers/mailbox
Jonathan Marek 39c29d0753 mailbox: qcom-ipcc: fix incorrect num_chans counting
[ Upstream commit a493208079 ]

Breaking out early when a match is found leads to an incorrect num_chans
value when more than one ipcc mailbox channel is used by the same device.

Fixes: e9d50e4b4d ("mailbox: qcom-ipcc: Dynamic alloc for channel arrangement")
Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-09-19 12:27:58 +02:00
..
apple-mailbox.c mailbox: apple: Implement poll_data() operation 2022-09-15 13:14:01 -05:00
arm_mhu.c
arm_mhu_db.c
arm_mhuv2.c mailbox: arm_mhuv2: Fix return value check in mhuv2_probe() 2022-12-31 13:32:55 +01:00
armada-37xx-rwtm-mailbox.c
bcm-flexrm-mailbox.c mailbox: bcm-ferxrm-mailbox: Fix error check for dma_map_sg 2022-10-05 21:50:53 -05:00
bcm-pdc-mailbox.c
bcm2835-mailbox.c
hi3660-mailbox.c
hi6220-mailbox.c
imx-mailbox.c mailbox: imx: fix RST channel support 2022-10-05 21:46:36 -05:00
Kconfig
mailbox-altera.c
mailbox-mpfs.c mailbox: mpfs: switch to txdone_poll 2023-05-11 23:03:12 +09:00
mailbox-sti.c
mailbox-test.c mailbox: mailbox-test: fix a locking issue in mbox_test_message_write() 2023-06-09 10:34:17 +02:00
mailbox-xgene-slimpro.c
mailbox.c
mailbox.h
Makefile
mtk-adsp-mailbox.c
mtk-cmdq-mailbox.c
omap-mailbox.c
pcc.c mailbox: pcc: Reset pcc_chan_count to zero in case of PCC probe failure 2022-12-31 13:31:57 +01:00
pl320-ipc.c
platform_mhu.c
qcom-apcs-ipc-mailbox.c mailbox: qcom-apcs-ipc: add IPQ8074 APSS clock support 2022-10-05 21:50:01 -05:00
qcom-ipcc.c mailbox: qcom-ipcc: fix incorrect num_chans counting 2023-09-19 12:27:58 +02:00
rockchip-mailbox.c
sprd-mailbox.c
stm32-ipcc.c
sun6i-msgbox.c
tegra-hsp.c
ti-msgmgr.c mailbox: ti-msgmgr: Fill non-message tx data fields with 0x0 2023-07-19 16:22:03 +02:00
zynqmp-ipi-mailbox.c mailbox: zynqmp: Fix counts of child nodes 2023-05-17 11:53:28 +02:00