Skip to content
Snippets Groups Projects
Commit 9ecce970 authored by Hans de Goede's avatar Hans de Goede
Browse files

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: default avatarHans de Goede <hdegoede@redhat.com>
Reviewed-by: default avatarMarek Vasut <marex@denx.de>
Acked-by: default avatarIan Campbell <ijc@hellion.org.uk>
parent 56a20854
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment