diff options
Diffstat (limited to 'src/soc/intel/jasperlake/pmutil.c')
-rw-r--r-- | src/soc/intel/jasperlake/pmutil.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/soc/intel/jasperlake/pmutil.c b/src/soc/intel/jasperlake/pmutil.c index 7a42d771ae..3b93d32940 100644 --- a/src/soc/intel/jasperlake/pmutil.c +++ b/src/soc/intel/jasperlake/pmutil.c @@ -202,15 +202,13 @@ static inline int deep_s3_enabled(void) } /* Return 0, 3, or 5 to indicate the previous sleep state. */ -int soc_prev_sleep_state(const struct chipset_power_state *ps, - int prev_sleep_state) +int soc_prev_sleep_state(const struct chipset_power_state *ps, int prev_sleep_state) { - /* * Check for any power failure to determine if this a wake from - * S5 because the PCH does not set the WAK_STS bit when waking - * from a true G3 state. - */ + * S5 because the PCH does not set the WAK_STS bit when waking + * from a true G3 state. + */ if (ps->gen_pmcon_a & (PWR_FLR | SUS_PWR_FLR)) prev_sleep_state = ACPI_S5; @@ -241,8 +239,7 @@ void soc_fill_power_state(struct chipset_power_state *ps) ps->tco1_sts = tco_read_reg(TCO1_STS); ps->tco2_sts = tco_read_reg(TCO2_STS); - printk(BIOS_DEBUG, "TCO_STS: %04x %04x\n", - ps->tco1_sts, ps->tco2_sts); + printk(BIOS_DEBUG, "TCO_STS: %04x %04x\n", ps->tco1_sts, ps->tco2_sts); pmc = pmc_mmio_regs(); ps->gen_pmcon_a = read32(pmc + GEN_PMCON_A); |