commit | a725426929515b9fdef1cb725159a29cf67361a7 | [log] [tgz] |
---|---|---|
author | Hans de Goede <hdegoede@redhat.com> | Wed Apr 22 17:39:59 2015 +0200 |
committer | Hans de Goede <hdegoede@redhat.com> | Mon May 04 16:51:52 2015 +0200 |
tree | 184071bbd1dd67ca24eb707bbbabeb37801186af | |
parent | 90641f82f1700553640103bf58017c303be4e604 [diff] |
sunxi: usbc: Fix vbus gpio handling to work with the driver-model The driver-model gpio functions may return another value then -1 as error, make the sunxi usbc properly handle this. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Ian Campbell <ijc@hellion.org.uk>