]> pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] ARM: OMAP: Replace apollon LCD mux setting
authorKyungmin Park <kyungmin.park@samsung.com>
Wed, 18 Oct 2006 19:55:49 +0000 (22:55 +0300)
committerTony Lindgren <tony@atomide.com>
Wed, 18 Oct 2006 19:55:49 +0000 (22:55 +0300)
Change the LCD mux setting from enable() to init() for PM

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/video/omap/lcd_apollon.c

index fabc3a540a5f25cc2b642cff874a19d47173f180..4c0f370a1c508693cc0a01c50e196762b1308129 100644 (file)
@@ -35,6 +35,8 @@
 static int apollon_panel_init(struct lcd_panel *panel,
                                struct omapfb_device *fbdev)
 {
+       /* configure LCD PWR_EN */
+       omap_cfg_reg(M21_242X_GPIO11);
        return 0;
 }
 
@@ -44,10 +46,6 @@ static void apollon_panel_cleanup(struct lcd_panel *panel)
 
 static int apollon_panel_enable(struct lcd_panel *panel)
 {
-
-       /* configure LCD PWR_EN */
-       omap_cfg_reg(M21_242X_GPIO11);
-
        return 0;
 }