Thread (2 messages) flat view 2 messages, 2 authors, 2012-10-27
DORMANTno replies

[PATCH] [ARM] pxa/spitz_pm.c: Fix hang under certain conditions when resuming from STR.

From: haojian.zhuang@gmail.com (Haojian Zhuang)
Date: 2012-10-27 23:54:39

On Fri, Oct 26, 2012 at 12:51 AM,  [off-list ref] wrote:
From: Marko Katic <dromede.gmail.com>

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>
Applied with fixing your email to dromede at gmail.com

Thanks
Haojian
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help