Hello Maxim,

On 26.09.25 12:05, [email protected] wrote:
From: Maksim Kiselev <[email protected]>

If reset property is missing in DT, then we get this warning:
        designware_i2c@0: Can't get reset: -2

Avoid this by checking if reset DT property is present, first.

Fixes: 622597dee4f ("i2c: designware: add reset ctrl to driver")
Signed-off-by: Maksim Kiselev <[email protected]>
---
  drivers/i2c/designware_i2c.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Heiko Schocher <[email protected]>

@Tom: I think, this is a late bugfix, so feel free to pick it up.
  If too late for 2025.10, I pick it up and send a PR when 2025.10
  is out.

Thanks!

bye,
Heiko
--
Nabla Software Engineering
HRB 40522 Augsburg
Phone: +49 821 45592596
E-Mail: [email protected]
Geschäftsführer : Stefano Babic

Reply via email to