[PATCH] usb: musb: Disable interrupts on suspend, enable them on resume

2015-09-03 Thread pascal . huerst
From: Pascal Huerst In certain situations, an interrupt triggers on resume, before musb_start() has been called. This has been observed to cause enumeration issues after suspend/resume cycles with AM335x. Signed-off-by: Pascal Huerst --- drivers/usb/musb/musb_core.c | 6 ++ 1 file changed

Re: usb: musb: host: enumeration issues

2015-09-03 Thread Pascal Huerst
On 02.09.2015 22:50, Felipe Balbi wrote: > Hi, > > On Wed, Sep 02, 2015 at 06:33:11PM +0200, Pascal Huerst wrote: >> Hey, >> >> On 02.09.2015 14:28, Felipe Balbi wrote: >>> Hi, >>> >>> On Wed, Sep 02, 2015 at 11:35:45AM +0200, Pascal Huer

Re: usb: musb: host: enumeration issues

2015-09-02 Thread Pascal Huerst
Hey, On 02.09.2015 14:28, Felipe Balbi wrote: > Hi, > > On Wed, Sep 02, 2015 at 11:35:45AM +0200, Pascal Huerst wrote: >> Hey Felipe, >> >> on a custom built, am335x based board, running v4.0, I'm facing an issue >> with usb: >> >> After

usb: musb: host: enumeration issues

2015-09-02 Thread Pascal Huerst
Hey Felipe, on a custom built, am335x based board, running v4.0, I'm facing an issue with usb: After suspend, storage devices are not being enumerated correctly. I have seen and applied your recent patch: usb: musb: host: rely on port_mode to call musb_start() Now, the issue only happens once.