commit | 494f5d0df51faf0a3915c6a8fe70d265a5e545f9 | [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 | b1e107ae0cce9c87237b6fbf395946baaf5735e3 [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>