linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] HID: sony: 4.10 fixes
@ 2017-02-23 23:56 Roderick Colenbrander
  2017-02-23 23:56 ` [PATCH] HID: sony: Fix input device leak when connecting a DS4 twice using USB/BT Roderick Colenbrander
  0 siblings, 1 reply; 3+ messages in thread
From: Roderick Colenbrander @ 2017-02-23 23:56 UTC (permalink / raw)
  To: linux-input
  Cc: Dmitry Torokhov, Jiri Kosina, Benjamin Tissoires, Simon Wood,
	Frank Praznik, Tim Bird, Roderick Colenbrander

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-02-24  7:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-23 23:56 [PATCH] HID: sony: 4.10 fixes Roderick Colenbrander
2017-02-23 23:56 ` [PATCH] HID: sony: Fix input device leak when connecting a DS4 twice using USB/BT Roderick Colenbrander
2017-02-24  7:02   ` Jiri Kosina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).