commit | 90641f82f1700553640103bf58017c303be4e604 | [log] [tgz] |
---|---|---|
author | Hans de Goede <hdegoede@redhat.com> | Wed Apr 22 17:03:17 2015 +0200 |
committer | Hans de Goede <hdegoede@redhat.com> | Mon May 04 16:51:52 2015 +0200 |
tree | 3bda43e4e97ffc1053d6623eaa6e9f1aa53916be | |
parent | 8b2db32a9f368672e51e90e46f5cba0dae8cbd52 [diff] |
sunxi: mmc: Fix card-detect gpio handling to work with the driver-model The driver-model gpio functions may return another value then -1 as error, make the sunxi mmc code 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>