commit | 78c2e64c0bf496f4c7dd9879068540c5fdc3a3cb | [log] [tgz] |
---|---|---|
author | Hans de Goede <hdegoede@redhat.com> | Thu Jun 18 18:21:33 2015 +0200 |
committer | Hans de Goede <hdegoede@redhat.com> | Sat Jul 25 11:22:55 2015 +0200 |
tree | 1d2b0be22f89fc26397d157822764f94547b944d | |
parent | 31e4f6f08c4e8973e2c965a5f08c5d84e3da3b94 [diff] |
sunxi: musb: Stop treating not having a vbus-det gpio as an error 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@redhat.com> Reviewed-by: Marek Vasut <marex@denx.de> Acked-by: Ian Campbell <ijc@hellion.org.uk>