[PATCH 6.12 054/826] thermal: core: Fix race between zone registration and system suspend