[PATCH 6.8 047/336] thermal/debugfs: Fix two locking issues with thermal zone debug