+2
−2
+8
−8
+2
−2
+2
−2
+8
−8
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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>