sunxi: musb: Return early on VBUS GPIO error instead of on a positive value
authorPaul Kocialkowski <contact@paulk.fr>
Sun, 15 Mar 2015 17:27:44 +0000 (18:27 +0100)
committerHans de Goede <hdegoede@redhat.com>
Sat, 21 Mar 2015 12:51:27 +0000 (13:51 +0100)
commit8a440b09f21ab8ec72b3aedf4d6f3f53494d7149
tree009e637a7e87614ae3625957d96b5852652400b1
parent21866c34a1b4098a8868c9250daf01baf84c2397
sunxi: musb: Return early on VBUS GPIO error instead of on a positive value

This allows printing the error message when VBUS is detected, as it would with
AXP VBUS detect.

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/usb/musb-new/sunxi.c