Re: [PATCH 3/3] usb: musb: da8xx: Fix host mode suspend

2016-12-15 Thread Bin Liu
On Mon, Nov 28, 2016 at 05:26:21PM +0100, Alexandre Bailon wrote: > On da8xx, VBUS is not maintained during suspend when musb is in host mode. > On resume, all the connected devices will be disconnected and then will > be enumerated again. > This happens because MUSB_DEVCTL is cleared during suspen

[PATCH 3/3] usb: musb: da8xx: Fix host mode suspend

2016-11-28 Thread Alexandre Bailon
On da8xx, VBUS is not maintained during suspend when musb is in host mode. On resume, all the connected devices will be disconnected and then will be enumerated again. This happens because MUSB_DEVCTL is cleared during suspend. MUSB_DEVCTL is clear twice: once by da8xx_musb_disable() and once musb_