]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drivers/thermal/qcom/lmh: Fix incorrect error message
authorSumeet Pawnikar <sumeet4linux@gmail.com>
Thu, 10 Jul 2025 17:54:25 +0000 (23:24 +0530)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 25 Sep 2025 20:10:59 +0000 (22:10 +0200)
It was showing wrong error message as ARM threshold
thremal trip for setting LOW threshold thermal trip.
Fix this incorrect error message for setting LOW
threshold thermal trip.

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Sumeet Pawnikar <sumeet4linux@gmail.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20250710175426.5789-1-sumeet4linux@gmail.com
drivers/thermal/qcom/lmh.c

index c681a3c89ffa0b9aa0713d6db45f444cb79bcf03..ddadcfada5136c34ec33bc92bdbd6b6efdab2713 100644 (file)
@@ -206,7 +206,7 @@ static int lmh_probe(struct platform_device *pdev)
        ret = qcom_scm_lmh_dcvsh(LMH_SUB_FN_THERMAL, LMH_TH_LOW_THRESHOLD, temp_low,
                                 LMH_NODE_DCVS, node_id, 0);
        if (ret) {
-               dev_err(dev, "Error setting thermal ARM threshold%d\n", ret);
+               dev_err(dev, "Error setting thermal LOW threshold%d\n", ret);
                return ret;
        }