Re: [PATCH] usb: dwc3: Support the dwc3 host suspend/resume

2017-07-24 Thread Baolin Wang
Hi Manu, On 24 July 2017 at 17:38, Manu Gautam wrote: > Hi, > > > On 7/24/2017 2:45 PM, Baolin Wang wrote: >> Hi Manu, >> >> On 24 July 2017 at 16:42, Manu Gautam wrote: >>> Hi Baolin, >>> >>> >>> On 7/24/2017 11:26 AM, Baolin Wang wrote: >>>

Re: [PATCH] usb: dwc3: Support the dwc3 host suspend/resume

2017-07-24 Thread Manu Gautam
Hi, On 7/24/2017 2:45 PM, Baolin Wang wrote: > Hi Manu, > > On 24 July 2017 at 16:42, Manu Gautam wrote: >> Hi Baolin, >> >> >> On 7/24/2017 11:26 AM, Baolin Wang wrote: >> >> Other than what I pushed in my patch - >> ("usb: dwc3: Don't reinitialize core during

Re: [PATCH] usb: dwc3: Support the dwc3 host suspend/resume

2017-07-24 Thread Baolin Wang
Hi Manu, On 24 July 2017 at 16:42, Manu Gautam wrote: > Hi Baolin, > > > On 7/24/2017 11:26 AM, Baolin Wang wrote: > > Other than what I pushed in my patch - > ("usb: dwc3: Don't reinitialize core during host bus-suspend/resume") > Just performing

Re: [PATCH] usb: dwc3: Support the dwc3 host suspend/resume

2017-07-24 Thread Manu Gautam
Hi Baolin, On 7/24/2017 11:26 AM, Baolin Wang wrote: Other than what I pushed in my patch - ("usb: dwc3: Don't reinitialize core during host bus-suspend/resume") Just performing pm_request_resume or handling same in dwc3 glue driver should be sufficient. >>> Yes. >>>

Re: [PATCH] usb: dwc3: Support the dwc3 host suspend/resume

2017-07-23 Thread Baolin Wang
Hi, On 21 July 2017 at 17:13, Manu Gautam wrote: > Hi, > > On 7/21/2017 2:31 PM, Baolin Wang wrote: >> On 21 July 2017 at 16:45, Manu Gautam wrote: >>> Hi, >>> >>> >>> On 7/21/2017 12:28 PM, Baolin Wang wrote: For some mobile devices with

Re: [PATCH] usb: dwc3: Support the dwc3 host suspend/resume

2017-07-21 Thread Manu Gautam
Hi, On 7/21/2017 2:31 PM, Baolin Wang wrote: > On 21 July 2017 at 16:45, Manu Gautam wrote: >> Hi, >> >> >> On 7/21/2017 12:28 PM, Baolin Wang wrote: >>> For some mobile devices with strict power management, we also want to >>> suspend the host when the slave was detached

Re: [PATCH] usb: dwc3: Support the dwc3 host suspend/resume

2017-07-21 Thread Baolin Wang
On 21 July 2017 at 16:45, Manu Gautam wrote: > Hi, > > > On 7/21/2017 12:28 PM, Baolin Wang wrote: >> For some mobile devices with strict power management, we also want to >> suspend the host when the slave was detached for power saving. Thus >> adding the host

Re: [PATCH] usb: dwc3: Support the dwc3 host suspend/resume

2017-07-21 Thread Manu Gautam
Hi, On 7/21/2017 12:28 PM, Baolin Wang wrote: > For some mobile devices with strict power management, we also want to > suspend the host when the slave was detached for power saving. Thus > adding the host suspend/resume functions to support this requirement. USB/PM core already takes care of

[PATCH] usb: dwc3: Support the dwc3 host suspend/resume

2017-07-21 Thread Baolin Wang
For some mobile devices with strict power management, we also want to suspend the host when the slave was detached for power saving. Thus adding the host suspend/resume functions to support this requirement. We will issue the pm_suspend_ignore_children() for the dwc3 device, since we will resume