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)
committerBenoit Goby <benoit@android.com>
Sat, 22 Jan 2011 00:15:27 +0000 (16:15 -0800)
commit80d438ee3c51707001ba604c52e560ca6aac5ac0
tree9da07e2de759acc1e39527d27dba0923590623de
parentf82c6e916c007e5b1c5d9fe74d7c9e5a0170f514
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