HID: sony: initialize sony_dev_list_lock properly
authorJiri Kosina <jkosina@suse.cz>
Mon, 23 Feb 2015 10:15:44 +0000 (11:15 +0100)
committerJiri Kosina <jkosina@suse.cz>
Mon, 23 Feb 2015 10:15:44 +0000 (11:15 +0100)
commit8b402c929d21a18e9a228d4ad6f0a076577cd63c
tree7e95ab97558df684f345f9402f74d170ed797eca
parent6c40065fc107cae29ab965f162406fcfd1525f1d
HID: sony: initialize sony_dev_list_lock properly

sony_dev_list_lock spinlock (which was introduced in d2d782fccee ("HID: sony:
Prevent duplicate controller connections") is not being initialized properly.
Fix that.

Reported-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-sony.c