Home
last modified time | relevance | path

Searched hist:"4 fa5a7f76cc7b6ac87f57741edd2b124851d119f" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/hid/
H A Dhid-core.cdiff 19e4ec525b37cdecbdb4f86edaae7f56a67339ee Wed Apr 30 16:48:40 CDT 2014 Benjamin Tissoires <benjamin.tissoires@redhat.com> HID: core: fix computation of the report size

The extra seven bits are only required when allocating the report buffer.
We can not use those extra bytes for the length of the report in the
generic implementation of .request because the device might (will) refuse
the set_report command.
This has been verified on the Atmel touchpad found on the Samsung Ativ 9
plus, which uses hid-multitouch and HID over I2C. Without this fix, the
device refuses to switch to the multitouch mode, and it becomes unresponsive
from the user point of view.

Actually, this has been discussed during the initial submission of the
commit 4fa5a7f76cc7b6ac87f57741edd2b124851d119f, see
https://patchwork.kernel.org/patch/3621751/

Unfortunately, I completely forgot about it later.

Reported-by: Matthias Bayer <thematthiasbayer@gmail.com>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
diff 4fa5a7f76cc7b6ac87f57741edd2b124851d119f Mon Feb 10 11:58:48 CST 2014 Benjamin Tissoires <benjamin.tissoires@redhat.com> HID: core: implement generic .request()

.request() can be emulated through .raw_request()
we can implement this emulation in hid-core, and make .request
not mandatory for transport layer drivers.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
/openbmc/linux/include/linux/
H A Dhid.hdiff 4fa5a7f76cc7b6ac87f57741edd2b124851d119f Mon Feb 10 11:58:48 CST 2014 Benjamin Tissoires <benjamin.tissoires@redhat.com> HID: core: implement generic .request()

.request() can be emulated through .raw_request()
we can implement this emulation in hid-core, and make .request
not mandatory for transport layer drivers.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>