mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH] fixup! video: add support for Solomon SSD1307 OLED controller family
Date: Fri,  3 Mar 2017 10:06:33 +0100	[thread overview]
Message-ID: <20170303090633.11500-1-u.kleine-koenig@pengutronix.de> (raw)
In-Reply-To: <20170228143127.2945-5-bst@pengutronix.de>

---
 drivers/video/ssd1307fb.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

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@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2017-03-03  9:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-28 14:31 [PATCH v2 0/4] Prepare consoles, add fb flush and Solomon SSD1307 OLED controller support Bastian Stender
2017-02-28 14:31 ` [PATCH v2 1/4] console: replace set_active by open/close Bastian Stender
2017-02-28 14:31 ` [PATCH v2 2/4] console: expose consoles in devfs Bastian Stender
2017-02-28 14:31 ` [PATCH v2 3/4] fb: introduce flush for virtual framebuffer Bastian Stender
2017-02-28 14:31 ` [PATCH v2 4/4] video: add support for Solomon SSD1307 OLED controller family Bastian Stender
2017-03-03  9:06   ` Uwe Kleine-König [this message]
2017-03-06  7:10     ` [PATCH] fixup! " Sascha Hauer
2017-03-01  7:03 ` [PATCH v2 0/4] Prepare consoles, add fb flush and Solomon SSD1307 OLED controller support Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170303090633.11500-1-u.kleine-koenig@pengutronix.de \
    --to=u.kleine-koenig@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox