]> git.sur5r.net Git - u-boot/commit
sunxi: H3: Do not clear usb companion clk-gate / reset on remove
authorHans de Goede <hdegoede@redhat.com>
Sat, 9 Apr 2016 13:00:52 +0000 (15:00 +0200)
committerHans de Goede <hdegoede@redhat.com>
Tue, 12 Apr 2016 06:58:03 +0000 (08:58 +0200)
commitfb3bfbb24a72a495f3fb1716d386fb4bbe5990fa
tree3f74a1d0194e39e99006e1bfcb65953e8a317f6a
parent88bb800ddf80fd301c3201596f174b0a82f1da3b
sunxi: H3: Do not clear usb companion clk-gate / reset on remove

On the H3 we need to enable the clk and de-assert the reset of the
companion to be able to talk to the actual usb host controller.

Before this commit we were also disabling the companion clk-gate /
asserting its reset on remove, causing the later remove callback of
the companion itself to (sometimes) fail with:

ERROR: USB HC reset timed out!

This commit fixes this by not disabling the companion's clk-gate nor
asserting its reset on remove.

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