[PATCH] HID: sony: 4.10 fixes
From: Roderick Colenbrander <hidden>
Date: 2017-02-23 23:56:18
From: Roderick Colenbrander <hidden>
Date: 2017-02-23 23:56:18
From: Roderick Colenbrander <roderick.colenbrander@sony.com>
Hi,
During testing of patches we are currently working on, we noticed
an input device cleanup issue when connecting a single DS4 using
Bluetooth and USB. This issue leads to memory leaks and in some
conditions likely a crash, so we recommend adding the attached
patch. Long-term we probably want to do 'sony_add' checks earlier
on within sony_input_configured as well to prevent any transient
devices from happening in such situation in the first place, but
this patch at least fixes the cleanup.
Thanks,
Roderick
Roderick Colenbrander (1):
HID: sony: Fix input device leak when connecting a DS4 twice using
USB/BT
drivers/hid/hid-sony.c | 2 ++
1 file changed, 2 insertions(+)
--
2.9.3