aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-s3c2440
diff options
context:
space:
mode:
authorVladimir Koutny <vlado@moko.ksp.sk>2009-01-21 20:04:20 +0000
committerAndy Green <agreen@octopus.localdomain>2009-01-21 20:04:20 +0000
commitf2d78193eae5dccd3d588d2c8ea0866efc368332 (patch)
tree083533f6c763f63bcb8617e5b06fac2f63640edb /arch/arm/mach-s3c2440
parent7290f1e64b89005cec72c0b948f9ac9fd43263bb (diff)
[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 <vlado@ksp.sk>
Diffstat (limited to 'arch/arm/mach-s3c2440')
-rw-r--r--arch/arm/mach-s3c2440/mach-gta02.c3
1 files changed, 3 insertions, 0 deletions
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,