projects
/
platform
/
kernel
/
kernel-mfld-blackbay.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d202500
)
PM: Increase dpm suspend timeout
author
Benoit Goby
<benoit@android.com>
Mon, 7 Feb 2011 21:55:26 +0000
(13:55 -0800)
committer
mgross
<mark.gross@intel.com>
Wed, 9 Nov 2011 20:07:09 +0000
(12:07 -0800)
usbhid devices have a 10s timeout waiting for the out queue to clear.
Increased the watchdog to 12s.
Change-Id: I96368fca6dff98e4eba8aedb09c23be964c8f4b4
Signed-off-by: Benoit Goby <benoit@android.com>
drivers/base/power/main.c
patch
|
blob
|
history
diff --git
a/drivers/base/power/main.c
b/drivers/base/power/main.c
index
43daa4b
..
b971f3d
100644
(file)
--- a/
drivers/base/power/main.c
+++ b/
drivers/base/power/main.c
@@
-881,7
+881,7
@@
static int __device_suspend(struct device *dev, pm_message_t state, bool async)
data.dev = dev;
data.tsk = get_current();
init_timer_on_stack(&timer);
- timer.expires = jiffies + HZ *
3
;
+ timer.expires = jiffies + HZ *
12
;
timer.function = dpm_drv_timeout;
timer.data = (unsigned long)&data;
add_timer(&timer);