<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/hid/hid-bigbenff.c, branch v5.12</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>HID: hid-bigbenff: fix race condition for scheduled work during removal</title>
<updated>2020-02-18T13:43:51+00:00</updated>
<author>
<name>Hanno Zulla</name>
<email>kontakt@hanno.de</email>
</author>
<published>2020-02-18T11:39:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=4eb1b01de5b9d8596d6c103efcf1a15cfc1bedf7'/>
<id>4eb1b01de5b9d8596d6c103efcf1a15cfc1bedf7</id>
<content type='text'>
It's possible that there is scheduled work left while the device is
already being removed, which can cause a kernel crash. Adding a flag
will avoid this.

Signed-off-by: Hanno Zulla &lt;kontakt@hanno.de&gt;
Signed-off-by: Benjamin Tissoires &lt;benjamin.tissoires@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It's possible that there is scheduled work left while the device is
already being removed, which can cause a kernel crash. Adding a flag
will avoid this.

Signed-off-by: Hanno Zulla &lt;kontakt@hanno.de&gt;
Signed-off-by: Benjamin Tissoires &lt;benjamin.tissoires@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>HID: hid-bigbenff: call hid_hw_stop() in case of error</title>
<updated>2020-02-18T13:43:48+00:00</updated>
<author>
<name>Hanno Zulla</name>
<email>kontakt@hanno.de</email>
</author>
<published>2020-02-18T11:38:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=976a54d0f4202cb412a3b1fc7f117e1d97db35f3'/>
<id>976a54d0f4202cb412a3b1fc7f117e1d97db35f3</id>
<content type='text'>
It's required to call hid_hw_stop() once hid_hw_start() was called
previously, so error cases need to handle this. Also, hid_hw_close() is
not necessary during removal.

Signed-off-by: Hanno Zulla &lt;kontakt@hanno.de&gt;
Signed-off-by: Benjamin Tissoires &lt;benjamin.tissoires@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It's required to call hid_hw_stop() once hid_hw_start() was called
previously, so error cases need to handle this. Also, hid_hw_close() is
not necessary during removal.

Signed-off-by: Hanno Zulla &lt;kontakt@hanno.de&gt;
Signed-off-by: Benjamin Tissoires &lt;benjamin.tissoires@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>HID: hid-bigbenff: fix general protection fault caused by double kfree</title>
<updated>2020-02-18T13:43:45+00:00</updated>
<author>
<name>Hanno Zulla</name>
<email>kontakt@hanno.de</email>
</author>
<published>2020-02-18T11:37:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=789a2c250340666220fa74bc6c8f58497e3863b3'/>
<id>789a2c250340666220fa74bc6c8f58497e3863b3</id>
<content type='text'>
The struct *bigben was allocated via devm_kzalloc() and then used as a
parameter in input_ff_create_memless(). This caused a double kfree
during removal of the device, since both the managed resource API and
ml_ff_destroy() in drivers/input/ff-memless.c would call kfree() on it.

Signed-off-by: Hanno Zulla &lt;kontakt@hanno.de&gt;
Signed-off-by: Benjamin Tissoires &lt;benjamin.tissoires@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The struct *bigben was allocated via devm_kzalloc() and then used as a
parameter in input_ff_create_memless(). This caused a double kfree
during removal of the device, since both the managed resource API and
ml_ff_destroy() in drivers/input/ff-memless.c would call kfree() on it.

Signed-off-by: Hanno Zulla &lt;kontakt@hanno.de&gt;
Signed-off-by: Benjamin Tissoires &lt;benjamin.tissoires@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>HID: hid-bigbenff: driver for BigBen Interactive PS3OFMINIPAD gamepad</title>
<updated>2018-09-24T09:49:32+00:00</updated>
<author>
<name>Hanno Zulla</name>
<email>abos@hanno.de</email>
</author>
<published>2018-08-23T15:03:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=256a90ed9e46b270bbc4e15ef05216ff049c3721'/>
<id>256a90ed9e46b270bbc4e15ef05216ff049c3721</id>
<content type='text'>
This is a driver to fix input mapping and add LED &amp; force feedback
support for the "BigBen Interactive Kid-friendly Wired Controller
PS3OFMINIPAD SONY" gamepad with USB id 146b:0902. It was originally
sold as a PS3 accessory and makes a very nice gamepad for Retropie.

Signed-off-by: Hanno Zulla &lt;kontakt@hanno.de&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a driver to fix input mapping and add LED &amp; force feedback
support for the "BigBen Interactive Kid-friendly Wired Controller
PS3OFMINIPAD SONY" gamepad with USB id 146b:0902. It was originally
sold as a PS3 accessory and makes a very nice gamepad for Retropie.

Signed-off-by: Hanno Zulla &lt;kontakt@hanno.de&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</pre>
</div>
</content>
</entry>
</feed>
