mirror of
https://github.com/torvalds/linux.git
synced 2026-05-22 14:12:07 +02:00
HID: playstation: Document spinlock_t usage
Document the usage of 'lock' member in struct ps_device and silent checkpatch.pl complaint: CHECK: spinlock_t definition without comment Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com> Reviewed-by: Benjamin Tissoires <bentiss@kernel.org> Tested-by: Benjamin Tissoires <bentiss@kernel.org> Signed-off-by: Jiri Kosina <jkosina@suse.com>
This commit is contained in:
parent
56d7f285bf
commit
d9812f06be
|
|
@ -38,7 +38,7 @@ enum PS_TYPE {
|
|||
struct ps_device {
|
||||
struct list_head list;
|
||||
struct hid_device *hdev;
|
||||
spinlock_t lock;
|
||||
spinlock_t lock; /* Sync between event handler and workqueue */
|
||||
|
||||
u32 player_id;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user