On Mon, Aug 2, 2010 at 12:16 PM, Mike Frysinger <[email protected]> wrote: > On Mon, Aug 2, 2010 at 00:00, <[email protected]> wrote: >> Revision 9034 Author lliubbo Date 2010-08-02 00:00:15 -0400 (Mon, 02 Aug >> 2010) >> >> Log Message >> >> Add hibernate wakeup from USB support. >> If a USB_DP,USB_DM or USB_VBUS edge is detected, >> wakeup event is generated. Set USBWE bit to >> enable it wakeup the processor. >> I have tested it on BF548-0.2. >> >> Modified: trunk/arch/blackfin/Kconfig (9033 => 9034) >> >> +config PM_BFIN_WAKE_USB >> + bool "Allow Wake-Up from USB" >> + depends on PM && (BF54x || BF52x) >> + default n >> + help >> + Enable USB Wake-Up (Voltage Regulator Power-Up) (all processors >> + with USB support). This option sets the usb wake-up enable (USBWE) >> + control bit to enable wake-up upon detection of a usb USB_DM,USB_DP >> + or USB_VBUS edge. >> >> Modified: trunk/arch/blackfin/mach-common/pm.c (9033 => 9034) >> >> #ifdef CONFIG_PM_BFIN_WAKE_GP >> wakeup |= GPWE; >> #endif >> +#ifdef CONFIG_PM_BFIN_WAKE_USB >> + wakeup |= USBWE; >> +#endif > > i dont think this is correct. the existing set_irq_wake() framework > should already work fine and from what i can see, the musb driver > already supports it.
Sorry, I have rollback it. -- Regards, --Bob _______________________________________________ Linux-kernel-commits mailing list [email protected] https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits
