Re: [PATCH 2/4] usb: musb: Prepare dsps glue layer for PM runtime support

2016-09-02 Thread Tony Lindgren
* Bin Liu [160902 07:05]: > On Thu, Aug 18, 2016 at 03:46:48PM -0700, Tony Lindgren wrote: > > + case OTG_STATE_A_WAIT_BCON: > > mod_timer(>timer, jiffies + > > - msecs_to_jiffies(wrp->poll_timeout)); > > +

Re: [PATCH 2/4] usb: musb: Prepare dsps glue layer for PM runtime support

2016-09-02 Thread Bin Liu
On Thu, Aug 18, 2016 at 03:46:48PM -0700, Tony Lindgren wrote: > We want to be polling the state when nothing is connected. > Let's change the polling logic in preparation for PM runtime > support. > > Signed-off-by: Tony Lindgren > --- > drivers/usb/musb/musb_dsps.c | 24

[PATCH 2/4] usb: musb: Prepare dsps glue layer for PM runtime support

2016-08-18 Thread Tony Lindgren
We want to be polling the state when nothing is connected. Let's change the polling logic in preparation for PM runtime support. Signed-off-by: Tony Lindgren --- drivers/usb/musb/musb_dsps.c | 24 +++- 1 file changed, 19 insertions(+), 5 deletions(-) diff