]> git.karo-electronics.de Git - karo-tx-uboot.git/commit
sunxi: display: Fix gpio handling to work with the driver-model
authorHans de Goede <hdegoede@redhat.com>
Wed, 22 Apr 2015 15:45:59 +0000 (17:45 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:35:19 +0000 (22:35 +0200)
commit77990dd4f381c8098046e2d278476648a205371e
tree0a6ba22edec66aa62c1091c536e22188edc6c7c7
parent75b7328e2f432fe9d4017bbed21dc8e37785acc8
sunxi: display: Fix gpio handling to work with the driver-model

The driver-model gpio functions may return another value then -1 as error,
make the sunxi display 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>
drivers/video/sunxi_display.c