Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 7c95149b authored by Rafael J. Wysocki's avatar Rafael J. Wysocki
Browse files

PM / Sleep: Initialize wakeup source locks in wakeup_source_add()



Initialize wakeup source locks in wakeup_source_add() instead of
wakeup_source_create(), because otherwise the locks of the wakeup
sources that haven't been allocated with wakeup_source_create()
aren't initialized and handled properly.

Signed-off-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
parent a556d5b5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment