[PATCH] thermal/drivers/rockchip: Shut up eFuse prober defer warning
Heiko Stuebner
heiko at sntech.de
Tue Mar 17 08:14:45 PDT 2026
Am Dienstag, 17. März 2026, 15:31:30 Mitteleuropäische Normalzeit schrieb Sebastian Reichel:
> 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 <sebastian.reichel at collabora.com>
Reviewed-by: Heiko Stuebner <heiko at sntech.de>
> ---
> 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,
>
More information about the Linux-rockchip
mailing list