Re: [PATCH v2] reset: imx7: Check return value of regmap_attach_dev() in imx7_reset_probe()
From: Philipp Zabel
Date: Fri Feb 06 2026 - 08:23:19 EST
On Fr, 2026-02-06 at 13:01 +0800, Chen Ni wrote:
> Add error checking for regmap_attach_dev() call in imx7_reset_probe()
> function to ensure proper error propagation.
>
> Return the value of regmap_attach_dev() if it fails to prevent
> proceeding with an incomplete regmap setup.
>
> Signed-off-by: Chen Ni <nichen@xxxxxxxxxxx>
Thank you,
Reviewed-by: Philipp Zabel <p.zabel@xxxxxxxxxxxxxx>
regards
Philipp