]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
firmware: imx: scu-irq: Set mu_resource_id before get handle
authorPeng Fan <peng.fan@nxp.com>
Fri, 17 Oct 2025 01:56:27 +0000 (09:56 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Jan 2026 10:21:12 +0000 (11:21 +0100)
commit58796d352d74669eacc4715e0901949e9e66f770
tree1ae6bc88343cd887a0ebb97a417d411c757127f3
parentb6fe42bc55af3fb17c8c03def2f8a1f7fa907af6
firmware: imx: scu-irq: Set mu_resource_id before get handle

commit ff3f9913bc0749364fbfd86ea62ba2d31c6136c8 upstream.

mu_resource_id is referenced in imx_scu_irq_get_status() and
imx_scu_irq_group_enable() which could be used by other modules, so
need to set correct value before using imx_sc_irq_ipc_handle in
SCU API call.

Reviewed-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Fixes: 81fb53feb66a ("firmware: imx: scu-irq: Init workqueue before request mbox channel")
Cc: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/firmware/imx/imx-scu-irq.c