]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
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)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 22:42:50 +0000 (00:42 +0200)
commit7fa736e98a6babfe56ff150c09cd79885399db41
tree46d14e6516a2961626cb6d773a7494d9c9c09101
parent131b1be835c05b01c6ca3cbd9b4b86ef97e4daf2
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