From: Rafael J. Wysocki Date: Fri, 10 Feb 2012 23:00:11 +0000 (+0100) Subject: PM / Sleep: Initialize wakeup source locks in wakeup_source_add() X-Git-Tag: v3.4-rc1~173^2~7^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c95149b7f1f61201b12c73c4862a41bf2428961;p=pandora-kernel.git 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 --- Reading git-diff-tree failed