summaryrefslogtreecommitdiff
path: root/drivers/hid/usbhid/hid-core.c
diff options
context:
space:
mode:
authorFrank Praznik <frank.praznik@oh.rr.com>2014-07-29 19:55:48 -0700
committerJiri Kosina <jkosina@suse.cz>2014-07-30 11:25:22 +0200
commit5607c89a115563104e1eea8d597282c799e75c99 (patch)
treed0462485531556084b73c2f976a5d2a061efaff0 /drivers/hid/usbhid/hid-core.c
parentab030726b64382d3548fd157db0a1c678c792122 (diff)
HID: sony: Default initialize all elements of the LED max_brightness array to 1
Previously only the first element of the array was initialized to 1 leading to potential incorrect max brightness values for the LEDs on the Dualshock 3 and buzzer controllers. Use a designated initializer to initialize the whole array to the correct value. Signed-off-by: Frank Praznik <frank.praznik@oh.rr.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/usbhid/hid-core.c')
0 files changed, 0 insertions, 0 deletions