firmware: imx: scu-irq: add imx_scu_irq_get_status
authorPeng Fan <peng.fan@nxp.com>
Mon, 7 Aug 2023 12:14:30 +0000 (20:14 +0800)
committerShawn Guo <shawnguo@kernel.org>
Fri, 11 Aug 2023 14:14:05 +0000 (22:14 +0800)
commitd2bd250cefabd2ce51a77bf69435e28f1fa47176
treeaba5deb44b96b24463ce340beda835a069faf991
parent19a72e0cb06de380c6259d1ca02aea2c99c1e175
firmware: imx: scu-irq: add imx_scu_irq_get_status

Extract the scu irq get status code from imx_scu_irq_work_handler and
make into a new function imx_scu_irq_get_status which could be used
by others, such as SECO.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/firmware/imx/imx-scu-irq.c
include/linux/firmware/imx/sci.h