Re: [U-Boot] [PATCH 1/2] sunxi: musb: Do not fully reset the controler from sunxi_musb_disable

2015-06-14 Thread Hans de Goede
Hi, On 06/14/2015 01:46 PM, Ian Campbell wrote: On Sun, 2015-06-14 at 12:40 +0200, Hans de Goede wrote: Fully resetting the controller is a too big hammer, and the musb_core will then afterwards fail to communicate with any endpoints other then 0 as too much state was cleared. Instead report v

Re: [U-Boot] [PATCH 1/2] sunxi: musb: Do not fully reset the controler from sunxi_musb_disable

2015-06-14 Thread Ian Campbell
On Sun, 2015-06-14 at 12:40 +0200, Hans de Goede wrote: > Fully resetting the controller is a too big hammer, and the musb_core will > then afterwards fail to communicate with any endpoints other then 0 as > too much state was cleared. > > Instead report vbus low for 200ms which will effectively e

[U-Boot] [PATCH 1/2] sunxi: musb: Do not fully reset the controler from sunxi_musb_disable

2015-06-14 Thread Hans de Goede
Fully resetting the controller is a too big hammer, and the musb_core will then afterwards fail to communicate with any endpoints other then 0 as too much state was cleared. Instead report vbus low for 200ms which will effectively end the current session without needing to do a full reset. This f