I stand corrected. The missing part of https://github.com/raspberrypi/linux/commit/29d2bdf66191b6e50deef2110792c43c10cccfd9 is already in the code. So the fix is correct.
As for the missing hysteresis support: get_trip_hyst is an optional operation (hence the "if (tz->ops->get_trip_hyst)"). It actually has been removed in the 6.7 kernel: https://github.com/torvalds/linux/commit/35d8dbbb25add265a880ab0dc48a229f06b08325
The way to go apparently is to read hyst values directly. I've opened an issue on GitHub: https://github.com/raspberrypi/linux/issues/5726
I stand corrected. The missing part of https:/ /github. com/raspberrypi /linux/ commit/ 29d2bdf66191b6e 50deef2110792c4 3c10cccfd9 is already in the code. So the fix is correct.
As for the missing hysteresis support: get_trip_hyst is an optional operation (hence the "if (tz->ops- >get_trip_ hyst)") . It actually has been removed in the 6.7 kernel: https:/ /github. com/torvalds/ linux/commit/ 35d8dbbb25add26 5a880ab0dc48a22 9f06b08325
The way to go apparently is to read hyst values directly. I've opened an issue on GitHub: https:/ /github. com/raspberrypi /linux/ issues/ 5726