commit | f41d766c34cbab024412d433a43d2d83a37e5135 | [log] [tgz] |
---|---|---|
author | Hans de Goede <hdegoede@redhat.com> | Sat Apr 20 13:21:50 2019 +0200 |
committer | Benjamin Tissoires <benjamin.tissoires@redhat.com> | Tue Apr 23 18:00:41 2019 +0200 |
tree | 2c86aad750cb8a407a61ef1f8b39329475a22cd5 | |
parent | 61d14de2948e1281b178b5b890a72e9c00979cc4 [diff] |
HID: logitech-dj: protect the paired_dj_devices access in add_djhid_dev with the lock This protects against logi_dj_recv_add_djhid_device, adding a device to paired_dj_devices from the delayedwork callback, racing versus logi_dj_raw_event trying to access that device. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>