PM: Dump suspend thread stack on dpm suspend timeout
authorBenoit Goby <benoit@android.com>
Fri, 21 Jan 2011 23:53:44 +0000 (15:53 -0800)
committerColin Cross <ccross@android.com>
Tue, 14 Jun 2011 16:09:50 +0000 (09:09 -0700)
commit34dcf173c5f6256210741c0c83bbebf4e017d5ad
tree12a8ea05b17a897c5013a36b1e30de98a366f610
parent0ee5695f24a1629c4147ed44650fe8847891efde
PM: Dump suspend thread stack on dpm suspend timeout

When a driver takes more than 3 seconds to suspend, dump the suspend
thread stack since BUG() might only dump the idle thread stack.

Change-Id: If854db355fdcf3b773ea20b1b5e031def6d4b114
Signed-off-by: Benoit Goby <benoit@android.com>
drivers/base/power/main.c