Re: [PATCH v2] rtc: pcf85363: Add error checking to regmap calls in probe()
Alexandre Belloni <[email protected]>
| Newsgroups | org.kernel.vger.linux-rtc,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <178732045076.528022.11850301032051907188.b4-ty@b4> |
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