Re: [PATCH] hid: sony: Default initialize all elements of the LED max_brightness array to 1.
From: Jiri Kosina <hidden>
Date: 2014-07-30 09:28:13
From: Jiri Kosina <hidden>
Date: 2014-07-30 09:28:13
On Tue, 29 Jul 2014, Frank Praznik wrote:
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 <redacted> --- This patch is against jikos/hid.git/for-3.16/upstream-fixes It applies cleanly against for-3.17/sony as well
I have applied it to for-3.17/sony, as it doesn't seem to justify 3.16-rc pull request. Thanks, -- Jiri Kosina SUSE Labs