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)
committerDan Willemsen <dwillemsen@nvidia.com>
Thu, 1 Dec 2011 05:38:27 +0000 (21:38 -0800)
commita5970e98f3db3b6d1bf4ec7737e5d83b75c365ed
tree85c5ea0b5a5e56704cae55ca48cad31a73a01f32
parentba820bc8418205e524b74093dcb6fdfa81772325
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