Marko Katic 510fcb0d33 ARM: pxa/spitz_pm: Fix hang when resuming from STR
Devices that use spitz_pm.c will fail to resume
from STR (Suspend To Ram) when the charger plug is inserted
or removed when a device is in STR mode. The culprit is
a misconfigured gpio line - GPIO18. GPIO18 should be configured as a
regular GPIO input but it gets configured as an alternate function
GPIO18_RDY. And then later in postsuspend() it gets configured as
a regular GPIO18 input line.

Fix this by removing the GPIO18_RDY configuration so that GPIO18
only gets configured as a regular gpio input.

Signed-off-by: Marko Katic <dromede@gmail.com>
Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
2012-10-28 07:53:45 +08:00
..
2012-01-25 20:37:49 -06:00
2011-07-12 19:45:19 +08:00
2011-07-12 19:45:19 +08:00
2012-10-07 07:22:32 -07:00
2012-01-25 20:37:49 -06:00
2012-09-14 11:18:10 +02:00
2012-03-28 18:30:01 +01:00
2012-01-25 20:37:49 -06:00
2012-01-25 20:37:49 -06:00
2012-01-25 20:37:49 -06:00
2012-10-01 19:11:38 -07:00
2012-10-01 19:11:38 -07:00
2012-10-01 19:11:38 -07:00
2012-10-01 18:46:13 -07:00
2012-01-25 20:37:49 -06:00
2012-10-07 07:22:32 -07:00
2012-03-25 14:36:31 -05:00
2012-03-25 14:36:31 -05:00
2010-12-18 21:02:14 +08:00
2012-10-01 19:11:38 -07:00
2012-10-07 07:22:32 -07:00
2012-01-25 20:37:49 -06:00
2012-09-14 11:18:10 +02:00