lkml.org 
[lkml]   [2013]   [Jan]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] HID: i2c-hid: fix i2c_hid_output_raw_report
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,

--
Jiri Kosina
SUSE Labs


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