diff options
author | Hans de Goede <hdegoede@redhat.com> | 2015-04-22 17:03:17 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2015-05-04 16:51:52 +0200 |
commit | 90641f82f1700553640103bf58017c303be4e604 (patch) | |
tree | 3bda43e4e97ffc1053d6623eaa6e9f1aa53916be /drivers/video/sunxi_display.c | |
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>
Diffstat (limited to 'drivers/video/sunxi_display.c')
0 files changed, 0 insertions, 0 deletions