"...0d0cea2424ae97b27447dc64a7dbfae83c036c45b403392f0e8ba.png" did not exist on "c146bb2f818e42e3d62cd90a020e3a1cb9f9aa62"
PM / Sleep: Replace mutex_[un]lock(&pm_mutex) with [un]lock_system_sleep()
Using [un]lock_system_sleep() is safer than directly using mutex_[un]lock() on 'pm_mutex', since the latter could lead to freezing failures. Hence convert all the present users of mutex_[un]lock(&pm_mutex) to use these safe APIs instead. Suggested-by:Tejun Heo <tj@kernel.org> Signed-off-by:
Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com> Reviewed-by:
Simon Horman <horms@verge.net.au> Signed-off-by:
Rafael J. Wysocki <rjw@sisk.pl>
Loading
Please register or sign in to comment