OSDN Git Service

thermal: rcar_gen3_thermal: Remove temperature bound
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Fri, 17 Jan 2020 16:05:54 +0000 (17:05 +0100)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 27 Jan 2020 10:43:24 +0000 (11:43 +0100)
commit0f510a2457cbbba18a98492bab1bf540be57ebd1
treea1554a59a71e39191183d2a6e81ed042e6f63c99
parentdff6d4f80509d1aaf07da9534f3f4b6876876caf
thermal: rcar_gen3_thermal: Remove temperature bound

The hardware manual states that the operation of the sensor is not
guaranteed with temperatures above 125°C, not that the readings are
invalid. Remove the bound check and try to deliver temperature readings
even if we are outside the guaranteed operation range.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20200117160554.3812787-3-niklas.soderlund+renesas@ragnatech.se
drivers/thermal/rcar_gen3_thermal.c