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)
committer黄涛 <huangtao@rock-chips.com>
Tue, 25 Jan 2011 12:05:36 +0000 (20:05 +0800)
commit10b41e10292b412a3e0cc506cd5344d0898cdab9
treec1cbe94caadbd8e4e37df6f4bf4c0845078f29ce
parent9f2a2f5d98d7ee2417aca03bbec9b9b9b15af94c
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