Skip to content
Commit e64c0ff0 authored by Hui Wang's avatar Hui Wang Committed by Linus Walleij
Browse files

pinctrl: imx: Return NULL if no group is matched and found



Currently if no group is matched and found, this function will return
the last grp to the caller, this is not expected, it is supposed to
return NULL in this case.

Fixes: e566fc11 ("pinctrl: imx: use generic pinctrl helpers for managing groups")
Signed-off-by: default avatarHui Wang <hui.wang@canonical.com>
Reviewed-by: default avatarFrank Li <Frank.Li@nxp.com>
Link: https://lore.kernel.org/20250327031600.99723-1-hui.wang@canonical.com


Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 0af2f6be
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment