Thread (2 messages) 2 messages, 2 authors, 2026-03-17
STALE73d

[PATCH] thermal/drivers/rockchip: Shut up eFuse prober defer warning

From: Sebastian Reichel <hidden>
Date: 2026-03-17 14:31:37
Also in: linux-pm, linux-rockchip, lkml
Subsystem: arm/rockchip soc support, the rest, thermal · Maintainers: Heiko Stuebner, Linus Torvalds, Rafael J. Wysocki, Daniel Lezcano

Shut up the following message printed at error level on ArmSom Sige5:

rockchip-thermal 2ae70000.tsadc: failed reading trim of sensor 0: -EPROBE_DEFER

Fixes: ae332ec0009d ("thermal/drivers/rockchip: Support reading trim values from OTP")
Signed-off-by: Sebastian Reichel <redacted>
---
 drivers/thermal/rockchip_thermal.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/thermal/rockchip_thermal.c b/drivers/thermal/rockchip_thermal.c
index c49ddf70f86e..2a40339de0d0 100644
--- a/drivers/thermal/rockchip_thermal.c
+++ b/drivers/thermal/rockchip_thermal.c
@@ -1638,8 +1638,7 @@ rockchip_thermal_register_sensor(struct platform_device *pdev,
 	if (tsadc->get_trim_code && sensor->of_node) {
 		error = rockchip_get_efuse_value(sensor->of_node, "trim", &trim);
 		if (error < 0 && error != -ENOENT) {
-			dev_err(dev, "failed reading trim of sensor %d: %pe\n",
-				id, ERR_PTR(error));
+			dev_err_probe(dev, error, "failed reading trim of sensor %d\n", id);
 			return error;
 		}
 		if (trim) {
---
base-commit: 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f
change-id: 20260317-rockchip-thermal-trim-warning-cd0072aa2f46

Best regards,
-- 
Sebastian Reichel [off-list ref]

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help