[PATCH v2 0/8] firmware: imx: scu: Misc update

Peng Fan posted 8 patches 2 months ago
drivers/firmware/imx/imx-scu-irq.c | 32 +++++++++++++++++---------------
drivers/firmware/imx/imx-scu.c     | 11 +++++++----
2 files changed, 24 insertions(+), 19 deletions(-)
[PATCH v2 0/8] firmware: imx: scu: Misc update
Posted by Peng Fan 2 months ago
various misc update for imx-scu.c and imx-scu-irq.c.
Patch 1 is a bug fix, but not critical.
For other patches, there is no real issue reported, I just reviewed
the code again and see some potential risk, so patch 2-4 is to
avoid potential issues. Other patches are misc patches, regarding
error code update, use devm_x API, suppress bind attr.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
Changes in v2:
- Update commit log for patch 2 per Frank.
- Keep free at one place for patch 2 per Frank
- Add R-b from Frank
- Link to v1: https://lore.kernel.org/r/20251014-imx-firmware-v1-0-ba00220613ca@nxp.com

---
Peng Fan (8):
      firmware: imx: scu-irq: fix OF node leak in
      firmware: imx: scu-irq: Free mailbox client on failure at imx_scu_enable_general_irq_channel()
      firmware: imx: scu-irq: Init workqueue before request mbox channel
      firmware: imx: scu-irq: Set mu_resource_id before get handle
      firmware: imx: scu-irq: Remove unused export of imx_scu_enable_general_irq_channel
      firmware: imx: scu: Update error code
      firmware: imx: scu: Suppress bind attrs
      firmware: imx: scu: Use devm_mutex_init

 drivers/firmware/imx/imx-scu-irq.c | 32 +++++++++++++++++---------------
 drivers/firmware/imx/imx-scu.c     | 11 +++++++----
 2 files changed, 24 insertions(+), 19 deletions(-)
---
base-commit: 2b763d4652393c90eaa771a5164502ec9dd965ae
change-id: 20251012-imx-firmware-492ba9230ef2

Best regards,
-- 
Peng Fan <peng.fan@nxp.com>
Re: [PATCH v2 0/8] firmware: imx: scu: Misc update
Posted by Shawn Guo 1 month, 3 weeks ago
On Fri, Oct 17, 2025 at 09:56:23AM +0800, Peng Fan wrote:
> Peng Fan (8):
>       firmware: imx: scu-irq: fix OF node leak in
>       firmware: imx: scu-irq: Free mailbox client on failure at imx_scu_enable_general_irq_channel()
>       firmware: imx: scu-irq: Init workqueue before request mbox channel
>       firmware: imx: scu-irq: Set mu_resource_id before get handle
>       firmware: imx: scu-irq: Remove unused export of imx_scu_enable_general_irq_channel
>       firmware: imx: scu: Update error code
>       firmware: imx: scu: Suppress bind attrs
>       firmware: imx: scu: Use devm_mutex_init

Applied all, thanks!