From: Tomi Valkeinen <tomi.valkeinen@ti.com> To: linux-omap@vger.kernel.org, linux-fbdev@vger.kernel.org Cc: archit@ti.com, Tomi Valkeinen <tomi.valkeinen@ti.com> Subject: [PATCH 1/4] OMAP: OMAPFB: make omapfb start even when a display is missing a driver Date: Mon, 22 Aug 2011 11:27:13 +0300 [thread overview] Message-ID: <1314001636-18036-2-git-send-email-tomi.valkeinen@ti.com> (raw) In-Reply-To: <1314001636-18036-1-git-send-email-tomi.valkeinen@ti.com> Currently omapfb wants that all the display devices have a driver, otherwise omapfb refuses to start. There's no real requirement to act like that, and this patch will make omapfb give a warning and skip that device. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> --- drivers/video/omap2/omapfb/omapfb-main.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/video/omap2/omapfb/omapfb-main.c b/drivers/video/omap2/omapfb/omapfb-main.c index e5a64b3..cd2cae8e 100644 --- a/drivers/video/omap2/omapfb/omapfb-main.c +++ b/drivers/video/omap2/omapfb/omapfb-main.c @@ -2373,9 +2373,10 @@ static int omapfb_probe(struct platform_device *pdev) omap_dss_get_device(dssdev); if (!dssdev->driver) { - dev_err(&pdev->dev, "no driver for display: %s\n", + dev_warn(&pdev->dev, "no driver for display: %s\n", dssdev->name); - r = -ENODEV; + omap_dss_put_device(dssdev); + continue; } d = &fbdev->displays[fbdev->num_displays++]; -- 1.7.4.1
WARNING: multiple messages have this Message-ID (diff)
From: Tomi Valkeinen <tomi.valkeinen@ti.com> To: linux-omap@vger.kernel.org, linux-fbdev@vger.kernel.org Cc: archit@ti.com, Tomi Valkeinen <tomi.valkeinen@ti.com> Subject: [PATCH 1/4] OMAP: OMAPFB: make omapfb start even when a display is missing a driver Date: Mon, 22 Aug 2011 08:27:13 +0000 [thread overview] Message-ID: <1314001636-18036-2-git-send-email-tomi.valkeinen@ti.com> (raw) In-Reply-To: <1314001636-18036-1-git-send-email-tomi.valkeinen@ti.com> Currently omapfb wants that all the display devices have a driver, otherwise omapfb refuses to start. There's no real requirement to act like that, and this patch will make omapfb give a warning and skip that device. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> --- drivers/video/omap2/omapfb/omapfb-main.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/video/omap2/omapfb/omapfb-main.c b/drivers/video/omap2/omapfb/omapfb-main.c index e5a64b3..cd2cae8e 100644 --- a/drivers/video/omap2/omapfb/omapfb-main.c +++ b/drivers/video/omap2/omapfb/omapfb-main.c @@ -2373,9 +2373,10 @@ static int omapfb_probe(struct platform_device *pdev) omap_dss_get_device(dssdev); if (!dssdev->driver) { - dev_err(&pdev->dev, "no driver for display: %s\n", + dev_warn(&pdev->dev, "no driver for display: %s\n", dssdev->name); - r = -ENODEV; + omap_dss_put_device(dssdev); + continue; } d = &fbdev->displays[fbdev->num_displays++]; -- 1.7.4.1
next prev parent reply other threads:[~2011-08-22 8:27 UTC|newest] Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-08-22 8:27 [PATCH 0/4] OMAPDSS: misc minor fixes Tomi Valkeinen 2011-08-22 8:27 ` Tomi Valkeinen 2011-08-22 8:27 ` Tomi Valkeinen [this message] 2011-08-22 8:27 ` [PATCH 1/4] OMAP: OMAPFB: make omapfb start even when a display is missing a driver Tomi Valkeinen 2011-08-27 10:28 ` Jaya Kumar 2011-08-27 10:28 ` [PATCH 1/4] OMAP: OMAPFB: make omapfb start even when a display Jaya Kumar 2011-08-22 8:27 ` [PATCH 2/4] OMAP: DSS2: fix clock sources on error and uninit Tomi Valkeinen 2011-08-22 8:27 ` Tomi Valkeinen 2011-08-22 8:27 ` [PATCH 3/4] OMAP: DSS2: Handle manager change in apply Tomi Valkeinen 2011-08-22 8:27 ` Tomi Valkeinen 2011-09-02 6:50 ` Archit Taneja 2011-09-02 6:51 ` Archit Taneja 2011-09-02 7:25 ` Tomi Valkeinen 2011-09-02 7:25 ` Tomi Valkeinen 2011-09-02 7:32 ` Archit Taneja 2011-09-02 7:44 ` Archit Taneja 2011-08-22 8:27 ` [PATCH 4/4] OMAP: DSS2: Remove "EXPERIMENTAL" from Kconfig Tomi Valkeinen 2011-08-22 8:27 ` Tomi Valkeinen
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=1314001636-18036-2-git-send-email-tomi.valkeinen@ti.com \ --to=tomi.valkeinen@ti.com \ --cc=archit@ti.com \ --cc=linux-fbdev@vger.kernel.org \ --cc=linux-omap@vger.kernel.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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.