[PATCH 5.4 097/134] thermal: intel: int340x: Add locking to int340x_thermal_get_trip_type()