thermal/drivers/tegra-soctherm: Silence message about clamped temperature
authorDmitry Osipenko <digetx@gmail.com>
Mon, 12 Jul 2021 00:23:53 +0000 (03:23 +0300)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Sat, 14 Aug 2021 13:44:15 +0000 (15:44 +0200)
The Tegra soctherm driver prints message about the clamped temperature
trip each time when thermal core disables the low/high trip. The message
is confusing and creates illusion that driver is malfunctioning. Turn that
noisy info message into a debug message.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20210712002353.17276-1-digetx@gmail.com
drivers/thermal/tegra/soctherm.c

index 8e303e9d1dc0eb4b916d48ef0c5fca5f2c72d18b..210325f92559e33a0841384b94729950977708ee 100644 (file)
@@ -450,8 +450,8 @@ static int enforce_temp_range(struct device *dev, int trip_temp)
 
        temp = clamp_val(trip_temp, min_low_temp, max_high_temp);
        if (temp != trip_temp)
-               dev_info(dev, "soctherm: trip temperature %d forced to %d\n",
-                        trip_temp, temp);
+               dev_dbg(dev, "soctherm: trip temperature %d forced to %d\n",
+                       trip_temp, temp);
        return temp;
 }