Because of the scope of the changes, Simon's
implementation of the G27 LEDs code is unfortunately incompatible with
this patch because it uses the linked list I'm trying to get rid of.
Unfortunately Michal's patch seems to be corrupt and won't 'take'. That
said I'm very happy to re-work my patches to work with Michal's (and take
on-board Mark's suggestions about the LED subsystem).
The patch also introduces some spinlocking to hid-lg and hid-lg4ff to
(hopefully) prevent any nasty
race conditions you were concerned about.
Jiri: Is this the spin lock you were looking for?
Simon