Commit 2ae0998
committed
thermal: core: Relocate critical and hot trip handling
Modify handle_thermal_trip() to call handle_critical_trips() only after
finding that the trip temperature has been crossed on the way up and
remove the redundant temperature check from the latter.
No intentional functional impact.
Signed-off-by: Rafael J. Wysocki <[email protected]>
Reviewed-by: Lukasz Luba <[email protected]>
Acked-by: Daniel Lezcano <[email protected]>1 parent ad2f8bc commit 2ae0998
1 file changed
+4
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
350 | 350 | | |
351 | 351 | | |
352 | 352 | | |
353 | | - | |
354 | | - | |
355 | | - | |
356 | | - | |
357 | 353 | | |
358 | 354 | | |
359 | 355 | | |
| |||
405 | 401 | | |
406 | 402 | | |
407 | 403 | | |
408 | | - | |
409 | 404 | | |
410 | | - | |
411 | | - | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
412 | 409 | | |
413 | 410 | | |
414 | 411 | | |
| |||
0 commit comments