Re: [PATCH v2] leds: USB: Add support for MSI GT683R led panels

2014-06-10 Thread Janne Kanniainen
>> > Where did you get these (HID report) values from by the way? >> >> I got them by reverse engineering. > > Traffic sniffing? > Yes. > In fact, it seems you can get away with not adding any locking here. > Just do the (mutex) locking in gt683r_led_set (or gt683r_led_work). Ok I will fix it.

Re: [PATCH v2] leds: USB: Add support for MSI GT683R led panels

2014-06-09 Thread Johan Hovold
On Sat, Jun 07, 2014 at 01:12:39PM +0300, Janne Kanniainen wrote: > > First of all, please reply to the original thread and make sure to not > > drop people or lists from CC. > > Sorry this is my first patch and i didn't know that. Now I know. > > > For arrays you can use the ARRAY_SIZE() macro i

Re: [PATCH v2] leds: USB: Add support for MSI GT683R led panels

2014-06-07 Thread Janne Kanniainen
> First of all, please reply to the original thread and make sure to not > drop people or lists from CC. Sorry this is my first patch and i didn't know that. Now I know. > For arrays you can use the ARRAY_SIZE() macro if that was the reason for > this change. I should have mentioned that when I p

Re: [PATCH v2] leds: USB: Add support for MSI GT683R led panels

2014-06-06 Thread Johan Hovold
[ +CC: Jiri, linux-input, linux-usb (again) ] First of all, please reply to the original thread and make sure to not drop people or lists from CC. On Fri, Jun 06, 2014 at 12:29:06AM +0300, Janne Kanniainen wrote: > This driver adds support for USB controlled led panels that exist in > MSI GT683R