sunxi: musb: Do not fully reset the controler from sunxi_musb_disable
authorHans de Goede <hdegoede@redhat.com>
Sun, 14 Jun 2015 09:55:28 +0000 (11:55 +0200)
committerHans de Goede <hdegoede@redhat.com>
Wed, 17 Jun 2015 13:22:07 +0000 (15:22 +0200)
commite1abfa437a2917834bcb8a9ee20c1e18bfc466f5
tree234d04333006a5212593fdca5c5d14bbbee62043
parent0d3f732fd2ba679b4498541f075d1b1bdbea3935
sunxi: musb: Do not fully reset the controler from sunxi_musb_disable

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 fixes usb mass-storage devices no longer working after a "usb reset"

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
drivers/usb/musb-new/sunxi.c