]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mailbox: qcom-ipcc: Reset CLEAR_ON_RECV_RD if set from boot firmware
authorMukesh Ojha <mukesh.ojha@oss.qualcomm.com>
Mon, 30 Dec 2024 07:54:25 +0000 (13:24 +0530)
committerJassi Brar <jassisinghbrar@gmail.com>
Sat, 18 Jan 2025 22:15:33 +0000 (16:15 -0600)
commit16274d7e51bd6e8029b0189a8950583681c254f1
treea06e0bcf23fc096ee8feec28837c3c35c02f2654
parente4b1d67e71419c4af581890ecea84b04920d4116
mailbox: qcom-ipcc: Reset CLEAR_ON_RECV_RD if set from boot firmware

For some SoCs, boot firmware is using the same IPCC instance used
by Linux and it has kept CLEAR_ON_RECV_RD set which basically means
interrupt pending registers are cleared when RECV_ID is read and the
register automatically updates to the next pending interrupt/client
status based on priority.

Clear the CLEAR_ON_RECV_RD if it is set from the boot firmware.

Signed-off-by: Mukesh Ojha <mukesh.ojha@oss.qualcomm.com>
Signed-off-by: Jassi Brar <jassisinghbrar@gmail.com>
drivers/mailbox/qcom-ipcc.c