commit | 7c95149b7f1f61201b12c73c4862a41bf2428961 | [log] [tgz] |
---|---|---|
author | Rafael J. Wysocki <rjw@sisk.pl> | Sat Feb 11 00:00:11 2012 +0100 |
committer | Rafael J. Wysocki <rjw@sisk.pl> | Mon Feb 13 16:25:51 2012 +0100 |
tree | 33917dbbd8b8cbbf917262e42baf3a528b752149 | |
parent | a556d5b58345ccf51826b9ceac078072f830738b [diff] |
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: Rafael J. Wysocki <rjw@sisk.pl>