aboutsummaryrefslogtreecommitdiff
path: root/drivers/mfd/glamo/glamo-display.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2009-07-02 00:04:26 +0100
committerThomas White <taw@bitwiz.org.uk>2009-07-02 00:04:26 +0100
commitc30b2dda89951504d3ac434848ac92d70376aec0 (patch)
tree3a43d819fe3e3c07c4eb2812229ba072fe4eab5f /drivers/mfd/glamo/glamo-display.c
parentd6d7968dd72899989c2e989df832a80d18a9f07f (diff)
Do not switch the screen off when changing mode
...because the clock(s) must be running while we talk to the chip. Signed-off-by: Thomas White <taw@bitwiz.org.uk>
Diffstat (limited to 'drivers/mfd/glamo/glamo-display.c')
-rw-r--r--drivers/mfd/glamo/glamo-display.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/mfd/glamo/glamo-display.c b/drivers/mfd/glamo/glamo-display.c
index 05bc7537c64..b79df84da68 100644
--- a/drivers/mfd/glamo/glamo-display.c
+++ b/drivers/mfd/glamo/glamo-display.c
@@ -274,8 +274,8 @@ static void glamo_crtc_dpms(struct drm_crtc *crtc, int mode)
//jbt6k74_action(0);
/* disable the pixel clock */
-// glamo_engine_clkreg_set(gdrm->glamo_core, GLAMO_ENGINE_LCD,
-// GLAMO_CLOCK_LCD_EN_DCLK, 0);
+ glamo_engine_clkreg_set(gdrm->glamo_core, GLAMO_ENGINE_LCD,
+ GLAMO_CLOCK_LCD_EN_DCLK, 0);
glamo_crtc->blank_mode = mode;
break;
case DRM_MODE_DPMS_ON:
@@ -373,17 +373,13 @@ static void glamo_crtc_mode_set_base(struct drm_crtc *crtc, int x, int y,
static void glamo_crtc_prepare(struct drm_crtc *crtc)
{
- struct drm_crtc_helper_funcs *crtc_funcs = crtc->helper_private;
printk(KERN_CRIT "glamo_crtc_prepare\n");
- crtc_funcs->dpms(crtc, DRM_MODE_DPMS_OFF);
}
static void glamo_crtc_commit(struct drm_crtc *crtc)
{
- struct drm_crtc_helper_funcs *crtc_funcs = crtc->helper_private;
printk(KERN_CRIT "glamo_crtc_commit\n");
- crtc_funcs->dpms(crtc, DRM_MODE_DPMS_ON);
}