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)
commitb71b5578a84d297954e4812ba0ca2d466e61cf42
tree0a2a48d5fd7b9c9649e3d8b1f5b4e32f70c46383
parentdecd946c99f6b3826bda0bfd5d1b2ddd56ef6b54
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