[PATCH] fixup! video: add support for Solomon SSD1307 OLED controller family
Sascha Hauer
s.hauer at pengutronix.de
Sun Mar 5 23:10:50 PST 2017
On Fri, Mar 03, 2017 at 10:06:33AM +0100, Uwe Kleine-König wrote:
> ---
> drivers/video/ssd1307fb.c | 7 ++++---
> 1 file changed, 4 insertions(+), 3 deletions(-)
>
Applied, thanks
Sascha
> diff --git a/drivers/video/ssd1307fb.c b/drivers/video/ssd1307fb.c
> index ff4af2cdf493..7437d340ee41 100644
> --- a/drivers/video/ssd1307fb.c
> +++ b/drivers/video/ssd1307fb.c
> @@ -415,9 +415,10 @@ static int ssd1307fb_probe(struct device_d *dev)
> "reset-gpios", 0);
> if (!gpio_is_valid(par->reset)) {
> ret = par->reset;
> - dev_err(&client->dev,
> - "Couldn't get named gpio 'reset-gpios': %s.\n",
> - strerror(-ret));
> + if (ret != -EPROBE_DEFER)
> + dev_err(&client->dev,
> + "Couldn't get named gpio 'reset-gpios': %s.\n",
> + strerror(-ret));
> goto fb_alloc_error;
> }
>
> --
> 2.11.0
>
>
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
>
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list