On Fri, Jul 20, 2012 at 09:09:10PM +0800, Ming Lei wrote: > On Fri, Jul 20, 2012 at 9:03 PM, Borislav Petkov <bp@xxxxxxxxx> wrote: > > This still doesn't change the fact that SYSTEM_SUSPEND or > > SYSTEM_SUSPEND_DISK is unused. IOW, both states are unused. So why > > introduce a new state instead of simply test != SYSTEM_RUNNING? > > Because system_state is still SYSTEM_RUNNING during S2R or hibernation. Ah, and you change that in suspend_devices_and_enter(). Ok, thanks. -- Regards/Gruss, Boris. -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html