HID: sony: Add LED controls for the Dualshock 4
authorFrank Praznik <frank.praznik@oh.rr.com>
Sat, 11 Jan 2014 20:13:15 +0000 (15:13 -0500)
committerJiri Kosina <jkosina@suse.cz>
Thu, 16 Jan 2014 21:44:35 +0000 (22:44 +0100)
Add LED lightbar controls for the Dualshock 4.

The Dualshock 4 light bar has 3 separate RGB LEDs that can range in
brightness from 0 to 255 so a full byte is now needed to store each LED's
state

Changed the module to support an arbitrary number of LEDs instead of being
hardcoded to 4.

Signed-off-by: Frank Praznik <frank.praznik@oh.rr.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-sony.c

Simple merge