From b0bcd39edf624df7c576fc4fb491607202c1b55c Mon Sep 17 00:00:00 2001 From: Mike Westerhof Date: Wed, 19 Nov 2008 17:10:48 +0000 Subject: 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 --- include/asm-arm/arch-s3c2410/gta01.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') 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 */ -- cgit v1.2.3