diff options
author | 2012-02-11 00:00:11 +0100 | |
---|---|---|
committer | 2012-02-13 16:25:51 +0100 | |
commit | 7c95149b7f1f61201b12c73c4862a41bf2428961 (patch) | |
tree | 33917dbbd8b8cbbf917262e42baf3a528b752149 /drivers/i2c/algos/i2c-algo-bit.c | |
parent | PM / Hibernate: Refactor and simplify freezer_test_done (diff) | |
download | wireguard-linux-7c95149b7f1f61201b12c73c4862a41bf2428961.tar.xz wireguard-linux-7c95149b7f1f61201b12c73c4862a41bf2428961.zip |
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>
Diffstat (limited to 'drivers/i2c/algos/i2c-algo-bit.c')
0 files changed, 0 insertions, 0 deletions