commit | 8083526e0585e23447ac9ea94ca3f6d32d6dee8f | [log] [tgz] |
---|---|---|
author | Hans de Goede <hdegoede@redhat.com> | Fri Jul 31 10:01:42 2015 +0200 |
committer | Kishon Vijay Abraham I <kishon@ti.com> | Mon Aug 03 18:35:08 2015 +0530 |
tree | 86316ffa7ed3ccda7c4af974fe3ab7227d9c6fe2 | |
parent | 3d772c4adbf94ce6971be2e9272157f831bccb8f [diff] |
phy-sun4i-usb: Only check vbus-det on power-on on boards with vbus-det data->vbus_det is always 1 on boards without a (working) vbus-det, skip the vbus_det test on such boards. This fixes the sun4i usb phy code never turning on Vbus on such boards. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>