From: "Eric Bénard" <eric@eukrea.com>
To: barebox@lists.infradead.org
Subject: [PATCH 2/3] unbreak imx-ipu-fb
Date: Thu, 24 Jun 2010 11:49:56 +0200 [thread overview]
Message-ID: <1277372997-6472-2-git-send-email-eric@eukrea.com> (raw)
In-Reply-To: <1277372997-6472-1-git-send-email-eric@eukrea.com>
commit c3789cd49b43ec1c414ba1b0e9f48e8ccc19f8e1 set fb0.enable to 0
as a default. Re-enabling the display doesn't work after this.
Removing sdc_enable_channel from imxfb_probe fix this problem.
This patch also remove verbose log from ipu_fb_disable.
Patch tested on i.MX35.
Signed-off-by: Eric Bénard <eric@eukrea.com>
---
drivers/video/imx-ipu-fb.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/drivers/video/imx-ipu-fb.c b/drivers/video/imx-ipu-fb.c
index 0bd86b2..6d1eb5e 100644
--- a/drivers/video/imx-ipu-fb.c
+++ b/drivers/video/imx-ipu-fb.c
@@ -835,8 +835,6 @@ static void ipu_fb_disable(struct fb_info *info)
struct ipu_fb_info *fbi = info->priv;
u32 reg;
- printf("%s\n", __func__);
-
reg = reg_read(fbi, SDC_COM_CONF);
reg &= ~SDC_COM_BG_EN;
reg_write(fbi, reg, SDC_COM_CONF);
@@ -883,8 +881,6 @@ static int imxfb_probe(struct device_d *dev)
return -ENOMEM;
}
- sdc_enable_channel(fbi, info->screen_base);
-
ret = register_framebuffer(&fbi->info);
if (ret < 0) {
dev_err(dev, "failed to register framebuffer\n");
--
1.6.3.3
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2010-06-24 9:50 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-24 9:49 [PATCH 1/3] fix command loadb Eric Bénard
2010-06-24 9:49 ` Eric Bénard [this message]
2010-06-24 9:49 ` [PATCH 3/3] eukrea_cpuimx35: better handling of backlight Eric Bénard
2010-06-24 10:48 ` Sascha Hauer
2010-06-24 11:48 ` Eric Bénard
2010-06-24 10:34 ` [PATCH 2/3] unbreak imx-ipu-fb Sascha Hauer
2010-06-24 9:53 ` [PATCH 1/3] fix command loadb Eric Bénard
2010-06-24 10:38 ` 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=1277372997-6472-2-git-send-email-eric@eukrea.com \
--to=eric@eukrea.com \
--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 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.