diff options
author | Jimmy Rubin <jimmy.rubin@stericsson.com> | 2011-12-05 08:44:15 +0100 |
---|---|---|
committer | Philippe Langlais <philippe.langlais@stericsson.com> | 2012-05-22 11:04:21 +0200 |
commit | df6ca5f4ec1fb1904929998459ff8a4f2bcc6c6d (patch) | |
tree | 977eb047ae288dd7740cb47328e3f6ed7309ac59 /drivers/video | |
parent | e9aee2a19979fd78a3f787732987da8ae09ef78f (diff) |
video: mcde: Update power on/off sequence for Sony
The sony display driver did not properly handle the
reset gpio during power on / power off.
In power off the the reset gpio is set to 0.
ST-Ericsson ID: 401537
ST-Ericsson Linux next: NA
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: Ie954e8e9a9b829029409885ccf92df1963ceb951
Signed-off-by: Jimmy Rubin <jimmy.rubin@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/40911
Reviewed-by: QATOOLS
Reviewed-by: QABUILD
Reviewed-by: QATEST
Reviewed-by: Jayarami REDDY <jayarami.reddy@stericsson.com>
Reviewed-by: Per PERSSON <per.xb.persson@stericsson.com>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/mcde/display-sony_acx424akp_dsi.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/video/mcde/display-sony_acx424akp_dsi.c b/drivers/video/mcde/display-sony_acx424akp_dsi.c index b8fbe708893..a365a42b4d2 100644 --- a/drivers/video/mcde/display-sony_acx424akp_dsi.c +++ b/drivers/video/mcde/display-sony_acx424akp_dsi.c @@ -87,6 +87,8 @@ static int power_on(struct mcde_display_device *dev) dev_dbg(&dev->dev, "%s: Reset & power on sony display\n", __func__); regulator_enable(di->regulator); + gpio_set_value_cansleep(di->reset_gpio, 1); + msleep(RESET_DELAY_MS); gpio_set_value_cansleep(di->reset_gpio, 0); udelay(RESET_LOW_DELAY_US); gpio_set_value_cansleep(di->reset_gpio, 1); @@ -101,6 +103,8 @@ static int power_off(struct mcde_display_device *dev) dev_dbg(&dev->dev, "%s:Reset & power off sony display\n", __func__); + gpio_set_value_cansleep(di->reset_gpio, 0); + msleep(RESET_DELAY_MS); regulator_disable(di->regulator); return 0; |