aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/plat-s3c24xx/neo1973_pm_gps.c
diff options
context:
space:
mode:
authorBalaji Rao <balajirrao@openmoko.org>2009-01-27 14:38:49 +0000
committerAndy Green <agreen@octopus.localdomain>2009-01-27 14:38:49 +0000
commit57a4af9be7051302edc51c878ecfbd90466827ff (patch)
tree51c5f9149184b63de61af0ba5dc79fa931c5aab7 /arch/arm/plat-s3c24xx/neo1973_pm_gps.c
parentcc0a09e9e49f6121622d8579b23018e378a29e23 (diff)
Subject: pcf50606_rebase_changes,patch
X-Git-Url: http://git.openmoko.org/?p=kernel.git;a=commitdiff_plain;h=445395c9fcfb78ea62ab5a69b84c2c12efe01cff pcf50606_rebase_changes,patch This patch brings into andy-tracking all changes related to pcf50606 from old balaji-tracking.
Diffstat (limited to 'arch/arm/plat-s3c24xx/neo1973_pm_gps.c')
-rw-r--r--arch/arm/plat-s3c24xx/neo1973_pm_gps.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/plat-s3c24xx/neo1973_pm_gps.c b/arch/arm/plat-s3c24xx/neo1973_pm_gps.c
index 26a49d4fbd4..84785dfa52a 100644
--- a/arch/arm/plat-s3c24xx/neo1973_pm_gps.c
+++ b/arch/arm/plat-s3c24xx/neo1973_pm_gps.c
@@ -422,6 +422,8 @@ static ssize_t power_gps_write(struct device *dev,
/* This is the nRESET pin */
static void gps_rst_set(int on)
{
+ struct regulator *regulator = neo1973_gps.regulator[GTA01_GPS_REG_2V5];
+
switch (system_rev) {
case GTA01v3_SYSTEM_REV:
pcf50606_gpo_set_active(gta01_pcf, PCF50606_GPO1, on);
@@ -437,6 +439,8 @@ static void gps_rst_set(int on)
static int gps_rst_get(void)
{
+ struct regulator *regulator = neo1973_gps.regulator[GTA01_GPS_REG_1V5];
+
switch (system_rev) {
case GTA01v3_SYSTEM_REV:
return pcf50606_gpo_get_active(gta01_pcf, PCF50606_GPO1);