mirror of
https://github.com/torvalds/linux.git
synced 2026-09-23 22:14:03 +02:00
k1_tsensor_set_trips() checks the requested trip temperatures before
converting them to the sensor register representation. Distinct
out-of-range temperatures can clamp to the same hardware value, leaving the
sensor with an invalid low/high threshold pair.
Validate the ordering after conversion and clamping.
Fixes:
|
||
|---|---|---|
| .. | ||
| k1_tsensor.c | ||
| Kconfig | ||
| Makefile | ||