Re: [PATCH v2] rtc: pcf85363: Add error checking to regmap calls in probe()
From: Alexandre Belloni
Date: Fri Aug 21 2026 - 09:58:45 EST
On Sat, 18 Jul 2026 03:37:05 +0800, Cosmo Chou wrote:
> The probe() function ignores errors returned by regmap operations.
> If an I2C transport error occurs (e.g., -ENXIO), the driver continues
> probing and may register a non-functional RTC device.
>
> Propagate errors from all unchecked regmap calls in probe() using
> dev_err_probe().
>
> [...]
Applied, thanks!
[1/1] rtc: pcf85363: Add error checking to regmap calls in probe()
https://git.kernel.org/abelloni/c/78acddfde751
Best regards,
--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com