Skip to contentSkip to conversation

Input: psxpad-spi - switch to using polled mode of input devices

PATCH New Dmitry Torokhov 1 participant 1 message Oct 1, 2019

Subsystems (2)
lore
Share & tools
lore

Dmitry Torokhov

author maintainer
#0 lore raw

PATCH 1/1 Input: psxpad-spi - switch to using polled mode of input devices

We have added polled mode to the normal input devices with the intent of retiring input_polled_dev. This converts psxpad-spi driver to use the polling mode of standard input devices and removes dependency on INPUT_POLLDEV.

---
 drivers/input/joystick/Kconfig      |  1 -
 drivers/input/joystick/psxpad-spi.c | 64 +++++++++++++++--------------
 2 files changed, 34 insertions(+), 31 deletions(-)
drivers/input/joystick/Kconfig +0 -1
index 312b854b5506..940b744639c7 100644
@@ -334,7 +334,6 @@ config JOYSTICK_MAPLE
 config JOYSTICK_PSXPAD_SPI
 	tristate "PlayStation 1/2 joypads via SPI interface"
 	depends on SPI
-	select INPUT_POLLDEV
 	help
 	  Say Y here if you wish to connect PlayStation 1/2 joypads
 	  via SPI interface.
drivers/input/joystick/psxpad-spi.c +34 -30

139 lines not on this page · raw message

Signature · 5 lines
2.23.0.444.g18eeb5a265-goog


-- 
Dmitry