aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/video/backlight/l4f00242t03.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/video/backlight/l4f00242t03.c b/drivers/video/backlight/l4f00242t03.c
index 1fcaaf3d78e1..98ad3e5f7c85 100644
--- a/drivers/video/backlight/l4f00242t03.c
+++ b/drivers/video/backlight/l4f00242t03.c
@@ -62,6 +62,8 @@ static void l4f00242t03_lcd_init(struct spi_device *spi)
62 regulator_enable(priv->core_reg); 62 regulator_enable(priv->core_reg);
63 } 63 }
64 64
65 l4f00242t03_reset(pdata->reset_gpio);
66
65 gpio_set_value(pdata->data_enable_gpio, 1); 67 gpio_set_value(pdata->data_enable_gpio, 1);
66 msleep(60); 68 msleep(60);
67 spi_write(spi, (const u8 *)cmd, ARRAY_SIZE(cmd) * sizeof(u16)); 69 spi_write(spi, (const u8 *)cmd, ARRAY_SIZE(cmd) * sizeof(u16));
@@ -227,7 +229,6 @@ static int __devinit l4f00242t03_probe(struct spi_device *spi)
227 } 229 }
228 230
229 /* Init the LCD */ 231 /* Init the LCD */
230 l4f00242t03_reset(pdata->reset_gpio);
231 l4f00242t03_lcd_init(spi); 232 l4f00242t03_lcd_init(spi);
232 priv->lcd_state = FB_BLANK_VSYNC_SUSPEND; 233 priv->lcd_state = FB_BLANK_VSYNC_SUSPEND;
233 l4f00242t03_lcd_power_set(priv->ld, FB_BLANK_UNBLANK); 234 l4f00242t03_lcd_power_set(priv->ld, FB_BLANK_UNBLANK);