[RFC PATCH v2 4/6] usb: add usb port auto power off mechanism

2012-11-13 Thread Lan Tianyu
This patch is to add usb port auto power off mechanism. When usb device is suspending, usb core will suspend usb port and usb port runtime pm callback will clear PORT_POWER feature to power off port if all conditions were met.These conditions are remote wakeup disable, pm qos NO_POWER_OFF flag

Re: [RFC PATCH v2 4/6] usb: add usb port auto power off mechanism

2012-11-13 Thread Rafael J. Wysocki
On Tuesday, November 13, 2012 04:00:03 PM Lan Tianyu wrote: This patch is to add usb port auto power off mechanism. When usb device is suspending, usb core will suspend usb port and usb port runtime pm callback will clear PORT_POWER feature to power off port if all conditions were met.These