diff options
| author | Cosmo Chou <chou.cosmo@gmail.com> | 2026-07-18 03:37:05 +0800 |
|---|---|---|
| committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2026-08-21 15:53:05 +0200 |
| commit | 78acddfde75177a27000f076e3e828743e38877e (patch) | |
| tree | d5891062b212b26b84ad0981609bf8a0c4113459 /tools/perf/scripts/python | |
| parent | ca45cfa74370644d371b552bef57938c19e3c80c (diff) | |
rtc: pcf85363: Add error checking to regmap calls in probe()
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().
Fixes: fd9a6a13949a ("rtc: pcf85363: add support for the quartz-load-femtofarads property")
Signed-off-by: Cosmo Chou <chou.cosmo@gmail.com>
Link: https://lore.kernel.org/linux-rtc/20260716125142.1801599-1-chou.cosmo@gmail.com/
Link: https://patch.msgid.link/20260717193705.2003175-1-chou.cosmo@gmail.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
