[PATCH 6.15 225/592] pmdomain: core: Reset genpd->states to avoid freeing invalid data