Skip to content

Commit 29b691a

Browse files
ao2Jiri Kosina
authored andcommitted
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 <[email protected]> Acked-by: Frank Praznik <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
1 parent a7de9b8 commit 29b691a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/hid/hid-sony.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -802,7 +802,7 @@ union sixaxis_output_report_01 {
802802
#define DS4_REPORT_0x05_SIZE 32
803803
#define DS4_REPORT_0x11_SIZE 78
804804
#define DS4_REPORT_0x81_SIZE 7
805-
#define SIXAXIS_REPORT_0xF2_SIZE 18
805+
#define SIXAXIS_REPORT_0xF2_SIZE 17
806806

807807
static spinlock_t sony_dev_list_lock;
808808
static LIST_HEAD(sony_device_list);

0 commit comments

Comments
 (0)