Hans de Goede 90641f82f1 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>
2015-05-04 16:51:52 +02:00
..
2014-08-01 19:24:34 +03:00
2015-03-18 09:51:56 +02:00
2015-03-18 09:55:59 +02:00
2014-12-05 11:16:22 +09:00
2014-12-05 11:16:22 +09:00