[PATCH 5.15 192/204] thermal: intel: int340x: Add locking to int340x_thermal_get_trip_type()