diff options
author | Chen-Yu Tsai <wens@csie.org> | 2016-09-07 14:25:21 +0800 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2016-09-17 14:37:40 +0200 |
commit | 57075a472a5c2b9a7c498a9dc2f2cfcc1e898ec2 (patch) | |
tree | f917bb4118112422e50f699a5ff121e612c39881 /arch/arm/include | |
parent | 253e62bf4b118d38a9e4a396b68fac61dcae7bbc (diff) | |
download | u-boot-imx-57075a472a5c2b9a7c498a9dc2f2cfcc1e898ec2.zip u-boot-imx-57075a472a5c2b9a7c498a9dc2f2cfcc1e898ec2.tar.gz u-boot-imx-57075a472a5c2b9a7c498a9dc2f2cfcc1e898ec2.tar.bz2 |
sunxi: musb: Power off OTG port VBUS when disabled
The Linux kernel musb driver expects VBUS to be off while initializing
musb. Having it on results in a repeating string of warnings, followed
by an unusable peripheral. The peripheral is only usable after
physically removing the OTG adapter, letting musb reset its state.
This partially reverts commit c9f8947e6604 ("sunxi: usb-phy: Never
power off the usb ports")
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'arch/arm/include')
-rw-r--r-- | arch/arm/include/asm/arch-sunxi/usb_phy.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/include/asm/arch-sunxi/usb_phy.h b/arch/arm/include/asm/arch-sunxi/usb_phy.h index 6a14cad..cef6c98 100644 --- a/arch/arm/include/asm/arch-sunxi/usb_phy.h +++ b/arch/arm/include/asm/arch-sunxi/usb_phy.h @@ -16,7 +16,6 @@ void sunxi_usb_phy_init(int index); void sunxi_usb_phy_exit(int index); void sunxi_usb_phy_power_on(int index); void sunxi_usb_phy_power_off(int index); -int sunxi_usb_phy_power_is_on(int index); int sunxi_usb_phy_vbus_detect(int index); int sunxi_usb_phy_id_detect(int index); void sunxi_usb_phy_enable_squelch_detect(int index, int enable); |