lkml.org 
[lkml]   [2013]   [Jan]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] HID: i2c-hid: fix i2c_hid_output_raw_report
From
On Thu, Jan 31, 2013 at 5:58 PM, Jiri Kosina <jkosina@suse.cz> wrote:
> On Thu, 31 Jan 2013, Benjamin Tissoires wrote:
>
>> i2c_hid_output_raw_report is used by hidraw to forward set_report requests.
>> The current implementation of i2c_hid_set_report needs to take the
>> report_id as an argument. The report_id is stored in the first byte
>> of the buffer in argument of i2c_hid_output_raw_report.
>>
>> Not removing the report_id from the given buffer adds this byte 2 times
>> in the command, leading to a non working command.
>>
>> Reported-by: Andrew Duggan <aduggan@synaptics.com>
>> Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
>
> Applied, will push it for 3.8 still. Thanks,

Thanks Jiri!

Cheers,
Benjamin

>
> --
> Jiri Kosina
> SUSE Labs


\
 
 \ /
  Last update: 2013-01-31 19:03    [W:0.030 / U:1.608 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site