diff options
author | Sebastian Capella <sebastian.capella@linaro.org> | 2014-02-18 17:52:08 -0800 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-02-26 01:13:15 +0100 |
commit | f8d5b9e9e5372f0deb7bc1ab1088a9b60b0a793d (patch) | |
tree | 7ad881c6ca24b6cac29cb2321ecea6b3edba21f2 /drivers/base/class.c | |
parent | cfbf8d4857c26a8a307fb7cd258074c9dcd8c691 (diff) |
PM / hibernate: Fix restore hang in freeze_processes()
During restore, pm_notifier chain are called with
PM_RESTORE_PREPARE. The firmware_class driver handler
fw_pm_notify does not have a handler for this. As a result,
it keeps a reader on the kmod.c umhelper_sem. During
freeze_processes, the call to __usermodehelper_disable tries to
take a write lock on this semaphore and hangs waiting.
Signed-off-by: Sebastian Capella <sebastian.capella@linaro.org>
Acked-by: Ming Lei <ming.lei@canonical.com>
Cc: All applicable <stable@vger.kernel.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/base/class.c')
0 files changed, 0 insertions, 0 deletions