aboutsummaryrefslogtreecommitdiff
path: root/drivers/power
diff options
context:
space:
mode:
authorAndy Green <andy@openmoko.com>2009-03-11 11:25:15 +0000
committerAndy Green <agreen@octopus.localdomain>2009-03-11 11:25:15 +0000
commit1e4bbcf02b6e332cec22949f9acebacdd582d893 (patch)
tree74cd50c6e40e4725271b709cdc9b2e1e4b40c303 /drivers/power
parentbe03383f4a472291bcf747e959ffb208d3fd56ce (diff)
fix-hdq-suspend-level.patch
Signed-off-by: Andy Green <andy@openmoko.com>
Diffstat (limited to 'drivers/power')
-rw-r--r--drivers/power/hdq.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/power/hdq.c b/drivers/power/hdq.c
index d8062369fcb..755a5efe5ec 100644
--- a/drivers/power/hdq.c
+++ b/drivers/power/hdq.c
@@ -404,8 +404,7 @@ static struct attribute_group hdq_attr_group = {
static int hdq_suspend(struct platform_device *pdev, pm_message_t state)
{
/* after 18s of this, the battery monitor will also go to sleep */
- hdq_priv.pdata->gpio_set(0);
- hdq_priv.pdata->gpio_dir_out();
+ hdq_priv.pdata->gpio_dir_in();
hdq_priv.pdata->disable_fiq();
return 0;
}