Re: [PATCH] i2c: designware-platdrv: handle reset control deassert error

From: Artem Shimko
Date: Fri Oct 24 2025 - 04:08:57 EST


On Thu, Oct 9, 2025 at 12:39 PM Philipp Zabel <p.zabel@xxxxxxxxxxxxxx> wrote:
>
> On Do, 2025-10-09 at 11:37 +0300, Artem Shimko wrote:
> > Handle the error returned by reset_control_deassert() in the probe
> > function to prevent continuing probe when reset deassertion fails.
> >
> > Previously, reset_control_deassert() was called without checking its
> > return value, which could lead to probe continuing even when the
> > device reset wasn't properly deasserted.
> >
> > The fix checks the return value and returns an error with dev_err_probe()
> > if reset deassertion fails, providing better error handling and
> > diagnostics.
> >
> > Signed-off-by: Artem Shimko <a.shimko.dev@xxxxxxxxx>
>
> Reviewed-by: Philipp Zabel <p.zabel@xxxxxxxxxxxxxx>

Hi Philipp,

Should I do something to bring the changes to linux-next?

--
Best regards,
Artem