<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/input/joystick, branch v6.0</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v6.0</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v6.0'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2022-08-29T18:45:28Z</updated>
<entry>
<title>Input: iforce - add support for Boeder Force Feedback Wheel</title>
<updated>2022-08-29T18:45:28Z</updated>
<author>
<name>Greg Tulli</name>
<email>greg.iforce@gmail.com</email>
</author>
<published>2022-08-29T18:21:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=9c9c71168f7979f3798b61c65b4530fbfbcf19d1'/>
<id>urn:sha1:9c9c71168f7979f3798b61c65b4530fbfbcf19d1</id>
<content type='text'>
Add a new iforce_device entry to support the Boeder Force Feedback Wheel
device.

Signed-off-by: Greg Tulli &lt;greg.iforce@gmail.com&gt;
Link: https://lore.kernel.org/r/3256420-c8ac-31b-8499-3c488a9880fd@gmail.com
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Input: iforce - wake up after clearing IFORCE_XMIT_RUNNING flag</title>
<updated>2022-08-28T03:54:06Z</updated>
<author>
<name>Tetsuo Handa</name>
<email>penguin-kernel@I-love.SAKURA.ne.jp</email>
</author>
<published>2022-08-28T03:36:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=98e01215708b6d416345465c09dce2bd4868c67a'/>
<id>urn:sha1:98e01215708b6d416345465c09dce2bd4868c67a</id>
<content type='text'>
syzbot is reporting hung task at __input_unregister_device() [1], for
iforce_close() waiting at wait_event_interruptible() with dev-&gt;mutex held
is blocking input_disconnect_device() from __input_unregister_device().

It seems that the cause is simply that commit c2b27ef672992a20 ("Input:
iforce - wait for command completion when closing the device") forgot to
call wake_up() after clear_bit().

Fix this problem by introducing a helper that calls clear_bit() followed
by wake_up_all().

Reported-by: syzbot &lt;syzbot+deb6abc36aad4008f407@syzkaller.appspotmail.com&gt;
Fixes: c2b27ef672992a20 ("Input: iforce - wait for command completion when closing the device")
Tested-by: syzbot &lt;syzbot+deb6abc36aad4008f407@syzkaller.appspotmail.com&gt;
Suggested-by: Fabio M. De Francesco &lt;fmdefrancesco@gmail.com&gt;
Co-developed-by: Hillf Danton &lt;hdanton@sina.com&gt;
Signed-off-by: Hillf Danton &lt;hdanton@sina.com&gt;
Signed-off-by: Tetsuo Handa &lt;penguin-kernel@I-love.SAKURA.ne.jp&gt;
Link: https://lore.kernel.org/r/887021c3-4f13-40ce-c8b9-aa6e09faa3a7@I-love.SAKURA.ne.jp
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Input: adc-joystick - fix ordering in adc_joystick_probe()</title>
<updated>2022-08-02T17:01:16Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2022-08-02T17:00:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=7c744d00990ea999d27f306f6db5ccb61b1304b2'/>
<id>urn:sha1:7c744d00990ea999d27f306f6db5ccb61b1304b2</id>
<content type='text'>
We should register the IIO buffer before we register the input device,
because as soon as the device is registered input handlers may attach to
it, resulting in a call to adc_joystick_open() which makes use of the said
buffer.

Acked-by: Artur Rojek &lt;contact@artur-rojek.eu&gt;
Link: https://lore.kernel.org/r/YskFh4NHnlcryMkk@google.com
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Merge tag 'v5.19-rc5' into next</title>
<updated>2022-07-08T20:39:28Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2022-07-08T20:39:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a63f7778f76e1cf8ed3bcb7a1d9453c9609121ad'/>
<id>urn:sha1:a63f7778f76e1cf8ed3bcb7a1d9453c9609121ad</id>
<content type='text'>
Merge with mainline to bring up the latest definition from MFD subsystem
needed for Mediatek keypad driver.
</content>
</entry>
<entry>
<title>Input: sensehat-joystick - remove unnecessary error message</title>
<updated>2022-06-29T05:50:48Z</updated>
<author>
<name>Yang Li</name>
<email>yang.lee@linux.alibaba.com</email>
</author>
<published>2022-06-29T05:49:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=b2274ff2c4bb7eb6fca6039c7e431506c6c26605'/>
<id>urn:sha1:b2274ff2c4bb7eb6fca6039c7e431506c6c26605</id>
<content type='text'>
The print function dev_err() is redundant because platform_get_irq()
already prints an error.

Eliminates the follow coccicheck warning:

./drivers/input/joystick/sensehat-joystick.c:102:2-9: line 102 is redundant because platform_get_irq() already prints an error

Reported-by: Abaci Robot &lt;abaci@linux.alibaba.com&gt;
Signed-off-by: Yang Li &lt;yang.lee@linux.alibaba.com&gt;
Link: https://lore.kernel.org/r/20220427004906.129893-1-yang.lee@linux.alibaba.com
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Input: raspberrypi-ts - add missing HAS_IOMEM dependency</title>
<updated>2022-05-31T21:10:03Z</updated>
<author>
<name>Randy Dunlap</name>
<email>rdunlap@infradead.org</email>
</author>
<published>2022-05-31T15:54:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=5f92df8ddacb4b97f6865a3bf687f240072f4f68'/>
<id>urn:sha1:5f92df8ddacb4b97f6865a3bf687f240072f4f68</id>
<content type='text'>
Since JOYSTICK_SENSEHAT selects MFD_SIMPLE_MFD_I2C and the latter
depends on HAS_IOMEM, and since 'select' does not follow any
dependency chains, JOYSTICK_SENSEHAT should also depend on HAS_IOMEM
to prevent a kconfig warning and a build error:

WARNING: unmet direct dependencies detected for MFD_SIMPLE_MFD_I2C
  Depends on [n]: HAS_IOMEM [=n] &amp;&amp; I2C [=y]
  Selected by [y]:
  - JOYSTICK_SENSEHAT [=y] &amp;&amp; INPUT_JOYSTICK [=y] &amp;&amp; INPUT [=y] &amp;&amp; I2C [=y]

s390-linux-ld: drivers/mfd/simple-mfd-i2c.o: in function `simple_mfd_i2c_probe':
simple-mfd-i2c.c:(.text+0xc8): undefined reference to `devm_mfd_add_devices'

Fixes: 41657514c796 ("Input: add Raspberry Pi Sense HAT joystick driver")
Signed-off-by: Randy Dunlap &lt;rdunlap@infradead.org&gt;
Link: https://lore.kernel.org/r/20220531022942.16340-1-rdunlap@infradead.org
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Input: add Raspberry Pi Sense HAT joystick driver</title>
<updated>2022-04-25T01:25:02Z</updated>
<author>
<name>Charles Mirabile</name>
<email>cmirabil@redhat.com</email>
</author>
<published>2022-04-20T21:00:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=41657514c796e1f0a8cf289780aff8f79643b7e5'/>
<id>urn:sha1:41657514c796e1f0a8cf289780aff8f79643b7e5</id>
<content type='text'>
This patch adds the driver for the Sense HAT joystick. It outputs BTN_DPAD
key events when moved in any of the four directions and the BTN_SELECT
event when depressed.

Co-developed-by: Daniel Bauman &lt;dbauman@redhat.com&gt;
Signed-off-by: Daniel Bauman &lt;dbauman@redhat.com&gt;
Co-developed-by: Mwesigwa Guma &lt;mguma@redhat.com&gt;
Signed-off-by: Mwesigwa Guma &lt;mguma@redhat.com&gt;
Co-developed-by: Joel Savitz &lt;jsavitz@redhat.com&gt;
Signed-off-by: Joel Savitz &lt;jsavitz@redhat.com&gt;
Signed-off-by: Charles Mirabile &lt;cmirabil@redhat.com&gt;
Link: https://lore.kernel.org/r/20220419205158.28088-3-cmirabil@redhat.com
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Input: adi - remove redundant variable z</title>
<updated>2022-03-21T05:02:00Z</updated>
<author>
<name>Colin Ian King</name>
<email>colin.i.king@gmail.com</email>
</author>
<published>2022-03-21T05:01:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a949087c2285c8de4f0f204cab2d4eece9d929a2'/>
<id>urn:sha1:a949087c2285c8de4f0f204cab2d4eece9d929a2</id>
<content type='text'>
Variable z is being assigned a value that is never read, the
variable is redundant and can be removed.

Cleans up clang scan build warning:
drivers/input/joystick/adi.c:139:6: warning: Although the
value stored to 'z' is used in the enclosing expression,
the value is never actually read from 'z' [deadcode.DeadStores]

Signed-off-by: Colin Ian King &lt;colin.i.king@gmail.com&gt;
Link: https://lore.kernel.org/r/20220318002318.80519-1-colin.i.king@gmail.com
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Input: xbox - correct the name for Xbox Series S|X controller</title>
<updated>2022-02-16T03:58:05Z</updated>
<author>
<name>Marcos Alano</name>
<email>marcoshalano@gmail.com</email>
</author>
<published>2022-02-16T03:56:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e3217f5e7399cb8cedfc6ce05216b6ae100aaf5b'/>
<id>urn:sha1:e3217f5e7399cb8cedfc6ce05216b6ae100aaf5b</id>
<content type='text'>
Change the name of controller to a more meaningful one.

Signed-off-by: Marcos Alano &lt;marcoshalano@gmail.com&gt;
Link: https://lore.kernel.org/r/20220212191014.1754721-1-marcoshalano@gmail.com
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input</title>
<updated>2022-01-01T18:21:49Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2022-01-01T18:21:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=278218f6778bc7d6f8b67199446c56cec7ebb841'/>
<id>urn:sha1:278218f6778bc7d6f8b67199446c56cec7ebb841</id>
<content type='text'>
Pull input fixes from Dmitry Torokhov:
 "Two small fixups for spaceball joystick driver and appletouch touchpad
  driver"

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
  Input: spaceball - fix parsing of movement data packets
  Input: appletouch - initialize work before device registration
</content>
</entry>
</feed>
