From f2d78193eae5dccd3d588d2c8ea0866efc368332 Mon Sep 17 00:00:00 2001 From: Vladimir Koutny Date: Wed, 21 Jan 2009 20:04:20 +0000 Subject: [GTA02] Allow GPS to stay ON during suspend Allow the GPS module to be powered during suspend so it can keep the fix. This has to be enabled by writing 1 to .../neo1973-pm-gps.0/keep_on_in_suspend Signed-off-by: Vladimir Koutny --- arch/arm/mach-s3c2440/mach-gta02.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'arch/arm/mach-s3c2440/mach-gta02.c') diff --git a/arch/arm/mach-s3c2440/mach-gta02.c b/arch/arm/mach-s3c2440/mach-gta02.c index f419537f9af..182f63993f4 100644 --- a/arch/arm/mach-s3c2440/mach-gta02.c +++ b/arch/arm/mach-s3c2440/mach-gta02.c @@ -727,6 +727,9 @@ struct pcf50633_platform_data gta02_pcf_pdata = { .max_uV = 1500000, .valid_modes_mask = REGULATOR_MODE_NORMAL, .apply_uV = 1, + .state_mem = { + .enabled = 1, + }, }, .num_consumer_supplies = 1, .consumer_supplies = ldo5_consumers, -- cgit v1.2.3