diff options
author | Donghwa Lee <dh09.lee@samsung.com> | 2014-01-10 13:19:49 +0900 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-11-18 11:46:08 +0900 |
commit | b6e5d72cace25afd6b565bdad00553dcbb299320 (patch) | |
tree | 39931ef80af6786681f60b54a909568ccc0242c6 /drivers/video | |
parent | 3ac3f176ab5d0748cd5b90f735cc8f21d9e01e30 (diff) | |
download | linux-3.10-b6e5d72cace25afd6b565bdad00553dcbb299320.tar.gz linux-3.10-b6e5d72cace25afd6b565bdad00553dcbb299320.tar.bz2 linux-3.10-b6e5d72cace25afd6b565bdad00553dcbb299320.zip |
video: display: s6e8aa0: change power off sequence to remove noise
It is need to turn off the panel more earlier than mipi dsi
to remove noise and switch the sequence of display_off and sleep_in
command following manufacturer's instruction.
Change-Id: Id2e7bf63fb84a12673fa56d572ad63ae5cf80539
Signed-off-by: Donghwa Lee <dh09.lee@samsung.com>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/display/panel-s6e8aa0.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/video/display/panel-s6e8aa0.c b/drivers/video/display/panel-s6e8aa0.c index dce22d9d402..d6dbfef71ea 100644 --- a/drivers/video/display/panel-s6e8aa0.c +++ b/drivers/video/display/panel-s6e8aa0.c @@ -1230,10 +1230,10 @@ static void s6e8aa0_power_off(struct s6e8aa0 *panel) { struct video_source *src = panel->entity.source; - s6e8aa0_sleep_in(panel); s6e8aa0_display_off(panel); - - src->ops.dsi->disable(src); + s6e8aa0_sleep_in(panel); + /* power off delay */ + msleep(120); regulator_bulk_disable(ARRAY_SIZE(panel->supplies), panel->supplies); @@ -1250,8 +1250,9 @@ static int s6e8aa0_set_state(struct display_entity *entity, case DISPLAY_ENTITY_STATE_OFF: if (entity->state != DISPLAY_ENTITY_STATE_ON) break; - src->common_ops->set_stream(src, DISPLAY_ENTITY_STREAM_STOPPED); s6e8aa0_power_off(panel); + src->common_ops->set_stream(src, DISPLAY_ENTITY_STREAM_STOPPED); + src->ops.dsi->disable(src); break; case DISPLAY_ENTITY_STATE_ON: |