aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}