[PATCH 6.12 182/414] pmdomain: core: Reset genpd->states to avoid freeing invalid data