[PATCH 2/3] unbreak imx-ipu-fb
Eric Bénard
eric at eukrea.com
Thu Jun 24 05:49:56 EDT 2010
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 at 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
More information about the barebox
mailing list