Skip to content

Commit

Permalink
thermal/drivers/tegra-soctherm: Silence message about clamped tempera…
Browse files Browse the repository at this point in the history
…ture

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, hence
let's turn that info message into a debug message.

Signed-off-by: Dmitry Osipenko <[email protected]>
  • Loading branch information
digetx committed Jul 6, 2021
1 parent bf80ecb commit 2f1cc7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/thermal/tegra/soctherm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 2f1cc7f

Please sign in to comment.