Re: [PATCH v4 3/3] USB / PM: Allow USB devices to remain runtime-suspended when sleeping

2015-07-16 Thread Rafael J. Wysocki
On Thursday, July 16, 2015 02:09:41 PM Tomeu Vizoso wrote: > On 16 July 2015 at 02:42, Rafael J. Wysocki wrote: > > On Wednesday, July 15, 2015 02:40:08 PM Tomeu Vizoso wrote: > >> Have dev_pm_ops.prepare return 1 for USB devices and ports so that USB > >> devices can remain runtime-suspended when

Re: [PATCH v4 3/3] USB / PM: Allow USB devices to remain runtime-suspended when sleeping

2015-07-16 Thread Tomeu Vizoso
On 16 July 2015 at 02:42, Rafael J. Wysocki wrote: > On Wednesday, July 15, 2015 02:40:08 PM Tomeu Vizoso wrote: >> Have dev_pm_ops.prepare return 1 for USB devices and ports so that USB >> devices can remain runtime-suspended when the system goes to a sleep >> state, if their wakeup state is corr

Re: [PATCH v4 3/3] USB / PM: Allow USB devices to remain runtime-suspended when sleeping

2015-07-15 Thread Rafael J. Wysocki
On Wednesday, July 15, 2015 02:40:08 PM Tomeu Vizoso wrote: > Have dev_pm_ops.prepare return 1 for USB devices and ports so that USB > devices can remain runtime-suspended when the system goes to a sleep > state, if their wakeup state is correct and they have runtime PM enabled. > > Signed-off-by:

[PATCH v4 3/3] USB / PM: Allow USB devices to remain runtime-suspended when sleeping

2015-07-15 Thread Tomeu Vizoso
Have dev_pm_ops.prepare return 1 for USB devices and ports so that USB devices can remain runtime-suspended when the system goes to a sleep state, if their wakeup state is correct and they have runtime PM enabled. Signed-off-by: Tomeu Vizoso --- drivers/usb/core/port.c | 6 ++ drivers/usb/