reflect the actual state entered in dev->last_state, when actaul state entered is different from intended one. Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@xxxxxxxxx> --- drivers/acpi/processor_idle.c | 1 + 1 file changed, 1 insertion(+) Index: tip/drivers/acpi/processor_idle.c =================================================================== --- tip.orig/drivers/acpi/processor_idle.c 2008-09-23 11:40:50.000000000 -0700 +++ tip/drivers/acpi/processor_idle.c 2008-09-23 14:22:48.000000000 -0700 @@ -1587,6 +1587,7 @@ static int acpi_idle_enter_bm(struct cpu if (acpi_idle_bm_check()) { if (dev->safe_state) { + dev->last_state = dev->safe_state; return dev->safe_state->enter(dev, dev->safe_state); } else { local_irq_disable(); -- _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm