<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/drivers/input/joystick/pxrc.c, branch linux-rolling-stable</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-rolling-stable</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-rolling-stable'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2023-12-10T06:25:23Z</updated>
<entry>
<title>Input: pxrc - simplify mutex handling with guard macro</title>
<updated>2023-12-10T06:25:23Z</updated>
<author>
<name>Marcus Folkesson</name>
<email>marcus.folkesson@gmail.com</email>
</author>
<published>2023-12-02T16:59:48Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=909484169a7bd935b4e56e1d77d63e8fccf6c6f1'/>
<id>urn:sha1:909484169a7bd935b4e56e1d77d63e8fccf6c6f1</id>
<content type='text'>
Use the guard(mutex) macro for handle mutex lock/unlocks.

Signed-off-by: Marcus Folkesson &lt;marcus.folkesson@gmail.com&gt;
Link: https://lore.kernel.org/r/20231202-pxrc-guard-v3-1-2ca8bc8cf689@gmail.com
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Input: pxrc - flatten probe code</title>
<updated>2018-07-25T19:04:19Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2018-07-18T18:37:47Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=76336b41bdd141e05e39f3e80cdbd5918cdb9028'/>
<id>urn:sha1:76336b41bdd141e05e39f3e80cdbd5918cdb9028</id>
<content type='text'>
Instead of splitting probe code into separate USB and input setup, flatten it.
This allows for easier inspection of order of set up steps, since the probe code
is reasonably small.

Move input-related initialization (phys) from USB block to input block.

Reviewed-by: Marcus Folkesson &lt;marcus.folkesson@gmail.com&gt;
Tested-by: Marcus Folkesson &lt;marcus.folkesson@gmail.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;</content>
</entry>
<entry>
<title>Input: pxrc - do not store unneeded data in driver structure</title>
<updated>2018-07-25T19:04:18Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2018-07-18T18:24:27Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=c8783d3930338323bd65f8043a8fd5ea22026824'/>
<id>urn:sha1:c8783d3930338323bd65f8043a8fd5ea22026824</id>
<content type='text'>
There is no need to store data buffer size, pointer to the buffer, or endpoint
address in pxrc structure, as they are either only needed during setup, or are
available from elsewhere.

Reviewed-by: Marcus Folkesson &lt;marcus.folkesson@gmail.com&gt;
Tested-by: Marcus Folkesson &lt;marcus.folkesson@gmail.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;</content>
</entry>
<entry>
<title>Input: pxrc - move module device table closer to where it is used</title>
<updated>2018-07-25T19:04:16Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2018-07-18T18:12:12Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=ce55f75f039479fc67ab978560067717fa26e1c8'/>
<id>urn:sha1:ce55f75f039479fc67ab978560067717fa26e1c8</id>
<content type='text'>
There is no need to have the device table first in the file.

Reviewed-by: Marcus Folkesson &lt;marcus.folkesson@gmail.com&gt;
Tested-by: Marcus Folkesson &lt;marcus.folkesson@gmail.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;</content>
</entry>
<entry>
<title>Input: pxrc - fix freeing URB on device teardown</title>
<updated>2018-07-25T19:04:15Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2018-07-18T18:03:36Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=34dad2cf1104869ce2db2bddb34f8e6780c2ddaa'/>
<id>urn:sha1:34dad2cf1104869ce2db2bddb34f8e6780c2ddaa</id>
<content type='text'>
URB is the only resource that is not managed, and thus is destroyed too early,
before we unregister input device and stop URB in pxrc_close(). To fix it let's
install custom devm handler to free the URB at the right time in devm unwind
sequence.

Reviewed-by: Marcus Folkesson &lt;marcus.folkesson@gmail.com&gt;
Tested-by: Marcus Folkesson &lt;marcus.folkesson@gmail.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;</content>
</entry>
<entry>
<title>Input: pxrc - do not store USB device in private struct</title>
<updated>2018-07-25T19:04:13Z</updated>
<author>
<name>Marcus Folkesson</name>
<email>marcus.folkesson@gmail.com</email>
</author>
<published>2018-07-18T17:57:31Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=9730f60888d4b35be0f2d7316cb9e227d071cdda'/>
<id>urn:sha1:9730f60888d4b35be0f2d7316cb9e227d071cdda</id>
<content type='text'>
The USB device is only needed during setup, so put it back after
initialization and do not store it in our private struct.

Also, the USB device is a parent of USB interface so our driver
model rules ensure that USB device should not disappear while
interface device is still there; there is no need to take reference
to the USB device.

Reported-by: Alexey Khoroshilov &lt;khoroshilov@ispras.ru&gt;
Signed-off-by: Marcus Folkesson &lt;marcus.folkesson@gmail.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;</content>
</entry>
<entry>
<title>Input: pxrc - new driver for PhoenixRC Flight Controller Adapter</title>
<updated>2018-03-26T22:22:20Z</updated>
<author>
<name>Marcus Folkesson</name>
<email>marcus.folkesson@gmail.com</email>
</author>
<published>2018-03-17T18:00:58Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=68ef4836cd3ca283b89843d6ad603ce258ba087d'/>
<id>urn:sha1:68ef4836cd3ca283b89843d6ad603ce258ba087d</id>
<content type='text'>
This driver let you plug in your RC controller to the adapter and
use it as input device in various RC simulators.

Signed-off-by: Marcus Folkesson &lt;marcus.folkesson@gmail.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;</content>
</entry>
</feed>
