diff options
author | Andy Green <andy@openmoko.com> | 2008-11-19 17:09:43 +0000 |
---|---|---|
committer | Andy Green <agreen@pads.home.warmcat.com> | 2008-11-19 17:09:43 +0000 |
commit | 2bf6c9a4db92f98b97205d79cb6076a379675f98 (patch) | |
tree | bdcb5d88efe0660aada3b312575341efb5c37a44 /arch/arm/mach-s3c2440 | |
parent | 55a09978f230a2ec899ce5adda219c7f7819c3a1 (diff) |
fix-suspend-backlight-timing-pm-debug.patch
This patch improves the smoothness of suspend and resume action.
Taking out CONFIG_PM_DEBUG allows much more rapid resume (the low level
serial traffic appears to be synchronous)
Added a platform callback in jbt driver and support in pcf50633 so we
can defer bringing up the backlight until the LCM is able to process
video again (which must happen after the glamo is up and producing
video beacuse the LCM is hooked to glamo SPI)
GTA01 should not be affected by all this as the callback will default
to null and it is on pcf50606
Signed-off-by: Andy Green <andy@openmoko.com>
Diffstat (limited to 'arch/arm/mach-s3c2440')
-rw-r--r-- | arch/arm/mach-s3c2440/mach-gta02.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c2440/mach-gta02.c b/arch/arm/mach-s3c2440/mach-gta02.c index 1954121e67c..e1984a9bc5a 100644 --- a/arch/arm/mach-s3c2440/mach-gta02.c +++ b/arch/arm/mach-s3c2440/mach-gta02.c @@ -532,6 +532,7 @@ static struct pcf50633_platform_data gta02_pcf_pdata = { }, }, }, + .defer_resume_backlight = 1, }; #if 0 /* currently unused */ @@ -828,9 +829,16 @@ void gta02_jbt6k74_reset(int devidx, int level) glamo_lcm_reset(level); } +/* finally bring up deferred backlight resume now LCM is resumed itself */ + +void gta02_jbt6k74_resuming(int devidx) +{ + pcf50633_backlight_resume(pcf50633_global); +} const struct jbt6k74_platform_data jbt6k74_pdata = { .reset = gta02_jbt6k74_reset, + .resuming = gta02_jbt6k74_resuming, }; static struct spi_board_info gta02_spi_board_info[] = { |