commit | b1e107ae0cce9c87237b6fbf395946baaf5735e3 | [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 | 6ef998d9cd97904e54070897f7cd39bcba1fa142 [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>