aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMike Westerhof <mwester@dls.net>2008-11-19 17:10:48 +0000
committerAndy Green <agreen@pads.home.warmcat.com>2008-11-19 17:10:48 +0000
commitb0bcd39edf624df7c576fc4fb491607202c1b55c (patch)
treee0f001e3a8768e043f0b005c03b9287cf0b0d692 /include
parentb4cb3f4e1724beed3e624a6f4ca666311f37093a (diff)
fix-suspend-backlight-timing-gta01.patch
This patch adds the gta01 backlight callback that defers the restoring of the backlight until after the jbt driver has resumed. This doesn't eliminate the flashing of the LCD on the gta01, but it reduces it considerably. Signed-off-by: Mike Westerhof <mwester@dls.net>
Diffstat (limited to 'include')
-rw-r--r--include/asm-arm/arch-s3c2410/gta01.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-arm/arch-s3c2410/gta01.h b/include/asm-arm/arch-s3c2410/gta01.h
index 1cc209964ed..989aa5510a6 100644
--- a/include/asm-arm/arch-s3c2410/gta01.h
+++ b/include/asm-arm/arch-s3c2410/gta01.h
@@ -12,10 +12,14 @@
#define GTA01Bv4_SYSTEM_REV 0x00000240
/* Backlight */
+
+extern void gta01bl_deferred_resume(void);
+
struct gta01bl_machinfo {
unsigned int default_intensity;
unsigned int max_intensity;
unsigned int limit_mask;
+ unsigned int defer_resume_backlight;
};
/* Definitions common to all revisions */