HID: sony: Use the minimum accepted size for feature report 0xf2
authorAntonio Ospite <ao2@ao2.it>
Mon, 16 Feb 2015 17:12:21 +0000 (18:12 +0100)
committerJiri Kosina <jkosina@suse.cz>
Wed, 18 Feb 2015 20:36:12 +0000 (21:36 +0100)
commit29b691a894f3964b26b8179423a45591fc071eea
tree0842758d33262c436ee59829bb5ca41ab4b3fada
parenta7de9b867be0662e72db69fd40a4f1d2aa80ecc0
HID: sony: Use the minimum accepted size for feature report 0xf2

Sixaxis devices accept feature report 0xf2 when size is >= 17, not 18.
Use the minimum accepted size.

The change is mainly for documentation purposes, the code worked fine
even before this change.

Signed-off-by: Antonio Ospite <ao2@ao2.it>
Acked-by: Frank Praznik <frank.praznik@oh.rr.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-sony.c