]> git.baikalelectronics.ru Git - kernel.git/commit
mailbox: imx: clear pending interrupts
authorPeng Fan <peng.fan@nxp.com>
Wed, 3 Aug 2022 07:53:26 +0000 (15:53 +0800)
committerJassi Brar <jaswinder.singh@linaro.org>
Wed, 3 Aug 2022 14:48:13 +0000 (09:48 -0500)
commit8a8dc2b9596e6088522d30bc79306b834c681943
treebcd5a8b8823b08f60e299f8b67fee3681bb422bb
parent1a607e102fe0f04491fb69c5a233aad139d9d1d6
mailbox: imx: clear pending interrupts

During MU initialization, there maybe pending GSR and RSR pending
interrupt, clear them to avoid unexpected kernel dump when requesting
mailbox channel

Reviewed-by: Jacky Bai <ping.bai@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
drivers/mailbox/imx-mailbox.c