On Thu, Feb 26, 2009 at 08:54:38AM +0900, Minkyu Kang wrote: > The MPU module can be waked up by the unexpected USB > interrupt(HSUSB_MC_NINT). For instance, if the MUSB is working as > peripheral mode and connected to a host PC, it can never enter the low > power mode due to interrupts from the host PC. This patch added the > feature that a board specific file can determines that TWL4030 > supplies the USB power or not in the low power mode. Disabling the USB > power may save the power consumption. > > Signed-off-by: Minkyu Kang <mk7.kang@xxxxxxxxxxx> > Signed-off-by: Kim Kyuwon <chammoru@xxxxxxxxx> > --- > drivers/usb/otg/twl4030-usb.c | 25 +++++++++++++++++++++++++ > include/linux/i2c/twl4030.h | 1 + > 2 files changed, 26 insertions(+), 0 deletions(-) > > diff --git a/drivers/usb/otg/twl4030-usb.c b/drivers/usb/otg/twl4030-usb.c > index 416e441..b725be2 100644 > --- a/drivers/usb/otg/twl4030-usb.c > +++ b/drivers/usb/otg/twl4030-usb.c > @@ -256,6 +256,7 @@ struct twl4030_usb { > u8 linkstat; > u8 asleep; > bool irq_enabled; > + bool suspend_enabled; before we ack it and let it go through, could you please explain a bit more the necessity of this ? I mean, what you're doing here is that you would allow twl4030 to enter low power mode even though we're connected to host side, meaning we would never get awaken by the host side, right ? Is that really wanted ? I mean, how would you then wake the device ? -- balbi -- 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