From 72389bf132fb8cb7c05b2e5b360e240676d53e4c Mon Sep 17 00:00:00 2001 From: warmcat Date: Wed, 19 Nov 2008 17:09:33 +0000 Subject: fix-lcm-reinit-post-resume.patch --- arch/arm/mach-s3c2440/mach-gta02.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'arch') diff --git a/arch/arm/mach-s3c2440/mach-gta02.c b/arch/arm/mach-s3c2440/mach-gta02.c index f2b1b66adc8..750fd9726b5 100644 --- a/arch/arm/mach-s3c2440/mach-gta02.c +++ b/arch/arm/mach-s3c2440/mach-gta02.c @@ -76,6 +76,7 @@ #include #include #include +#include #include @@ -756,10 +757,21 @@ static struct s3c2410_ts_mach_info gta02_ts_cfg = { /* SPI: LCM control interface attached to Glamo3362 */ +void gta02_jbt6k74_reset(int devidx, int level) +{ + glamo_lcm_reset(level); +} + + +const struct jbt6k74_platform_data jbt6k74_pdata = { + .reset = gta02_jbt6k74_reset, +}; + static struct spi_board_info gta02_spi_board_info[] = { { .modalias = "jbt6k74", /* platform_data */ + .platform_data = &jbt6k74_pdata, /* controller_data */ /* irq */ .max_speed_hz = 10 * 1000 * 1000, -- cgit v1.2.3