]> git.ipfire.org Git - people/ms/u-boot.git/commit
sunxi: musb: Properly turn of musb controller before booting
authorHans de Goede <hdegoede@redhat.com>
Sun, 5 Jun 2016 14:53:04 +0000 (16:53 +0200)
committerHans de Goede <hdegoede@redhat.com>
Fri, 10 Jun 2016 10:09:38 +0000 (12:09 +0200)
commitbca4c3c5fcb3d170308e621dadcc5555a1aca1b8
tree931e4d490e4eff14ac5dbd9ea2facb071d09717c
parentfd2aa39a619ce011414f6cb6efb0232136e300c7
sunxi: musb: Properly turn of musb controller before booting

Turn of the clock and assert the reset when musb_stop gets called, so that
the os gets the musb controller in a pristine state. This fixes a spurious
VBus error interrupt triggering as soon as the Linux musb driver loads.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/usb/musb-new/sunxi.c