Re: [RFC 2/8] HID: usbhid: update LED fields unlocked

2013-07-31 Thread Jiri Kosina
On Tue, 16 Jul 2013, Benjamin Tissoires wrote: Report fields can be updated from HID drivers unlocked via hid_set_field(). It is protected by input_lock in HID core so only a single input event is handled at a time. USBHID can thus update the field unlocked and doesn't conflict with any

Re: [RFC 2/8] HID: usbhid: update LED fields unlocked

2013-07-16 Thread Benjamin Tissoires
On Mon, Jul 15, 2013 at 7:10 PM, David Herrmann dh.herrm...@gmail.com wrote: Report fields can be updated from HID drivers unlocked via hid_set_field(). It is protected by input_lock in HID core so only a single input event is handled at a time. USBHID can thus update the field unlocked and

[RFC 2/8] HID: usbhid: update LED fields unlocked

2013-07-15 Thread David Herrmann
Report fields can be updated from HID drivers unlocked via hid_set_field(). It is protected by input_lock in HID core so only a single input event is handled at a time. USBHID can thus update the field unlocked and doesn't conflict with any HID vendor/device drivers. Note, many HID drivers make