Re: [PATCH 0/2] pinctrl: canaan: k230: Fix DT parsing and registration order
From: Linus Walleij
Date: Tue Jun 24 2025 - 15:37:38 EST
On Mon, Jun 23, 2025 at 6:11 PM Ze Huang <huangze@xxxxxxxxxxx> wrote:
> This patch set fixes two issues in the Canaan K230 pinctrl driver:
>
> 1. Adds a NULL check for the "pinmux" property in the device tree parser to
> prevent potential NULL pointer dereference, and fixes a typo in the
> match table comment.
>
> 2. Moves the DT parsing step before pinctrl registration to ensure that
> pin resources are fully initialized before being used.
>
> Signed-off-by: Ze Huang <huangze@xxxxxxxxxxx>
Patches applied!
Yours,
Linus Walleij