drivers: power: Add watchdog timer to catch drivers which lockup during suspend.
authorSan Mehat <san@google.com>
Thu, 13 Aug 2009 16:40:42 +0000 (09:40 -0700)
committerArve Hjønnevåg <arve@android.com>
Mon, 8 Feb 2010 23:36:01 +0000 (15:36 -0800)
commitd20c38c796134b43b46dc97faf9d09d3df437041
treed803ef8c7c4b8576ff8430a84a56ee008577afec
parentc09426ea439387637204ccebafd6cd7f02065e62
drivers: power: Add watchdog timer to catch drivers which lockup during suspend.

Rather than hard-lock the kernel, we now BUG() when a driver takes
> 3 seconds to suspend. If the underlying platform supports panic dumps,
then the data can be collected for debug.

Signed-off-by: San Mehat <san@google.com>
drivers/base/power/main.c