[U-Boot] [PATCH 2/3] sunxi: musb: Stop treating not having a vbus-det gpio as an error
Ian Campbell
ijc+uboot at hellion.org.uk
Sun Jun 21 10:00:32 CEST 2015
On Sat, 2015-06-20 at 17:35 +0200, Hans de Goede wrote:
> On some boards the otg is wired up in host-only mode in this case we
> have no vbus-det gpio.
>
> Stop logging an error from sunxi_usb_phy_vbus_detect() in this case, and
> stop treating sunxi_usb_phy_vbus_detect() returning a negative errno, as
> if a charger is plugged into the otg port.
>
> Signed-off-by: Hans de Goede <hdegoede at redhat.com>
Acked-by: Ian Campbell <ijc at hellion.org.uk>
More information about the U-Boot
mailing list