diff options
author | Marko Katic <dromede@gmail.com> | 2012-10-25 18:51:38 +0200 |
---|---|---|
committer | Haojian Zhuang <haojian.zhuang@gmail.com> | 2012-10-28 07:53:45 +0800 |
commit | 510fcb0d331f314cd20d0067d56f29302846f47b (patch) | |
tree | 51aaba7d6ff4ea23e0b77280170f1dff1615dfb5 /samples | |
parent | 8d6b00f5d639cfc28487ef412589e35b4e6ac7c7 (diff) |
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>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions