]> git.baikalelectronics.ru Git - kernel.git/commit
HID: sony: Remove the size check for the Dualshock 4 HID Descriptor
authorFrank Praznik <frank.praznik@gmail.com>
Fri, 6 Nov 2015 20:35:53 +0000 (15:35 -0500)
committerJiri Kosina <jkosina@suse.cz>
Thu, 19 Nov 2015 15:13:27 +0000 (16:13 +0100)
commitfb990fe3ec46eebb57d01b0ac9e369cc98bdcc44
tree0a2a48d5fd7b9c9649e3d8b1f5b4e32f70c46383
parent349c13c39ab64869f7982e9e81f1c5de1abcbcb6
HID: sony: Remove the size check for the Dualshock 4 HID Descriptor

Sony has modified the HID descriptor in new revisions of the Dualshock 4 which
causes the size check in the descriptor replacement function to fail.  Remove it
so that new revisions of the controller will work correctly.

The module is completely replacing the descriptor instead of patching it, so the
size check isn't really necessary anyways.

Signed-off-by: Frank Praznik <frank.praznik@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-sony.c