Skip to content

Stop using input_polled_dev in polling drivers

Dmitry Torokhov linux-arm-kernel linux-input lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest22 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/22Input: raspberrypi-ts - switch to using polled mode of input devicesdrivers/input/touchscreen/Kconfig drivers/input/touchscreen/raspberrypi-ts.c+20 -190 replies
2/22Input: sur40 - switch to using polled mode of input devicesdrivers/input/touchscreen/Kconfig drivers/input/touchscreen/sur40.c+53 -400 replies
3/22Input: ts4800-ts - switch to using polled mode of input devicesdrivers/input/touchscreen/Kconfig drivers/input/touchscreen/ts4800-ts.c+38 -310 replies
4/22Input: tsc6507x-ts - switch to using polled mode of input devicesdrivers/input/touchscreen/Kconfig drivers/input/touchscreen/tps6507x-ts.c+17 -200 replies
5/22Input: adc-keys - switch to using polled mode of input devicesdrivers/input/keyboard/Kconfig drivers/input/keyboard/adc-keys.c+19 -180 replies
6/22Input: clps711x-keypad - switch to using polled mode of input devicesdrivers/input/keyboard/Kconfig drivers/input/keyboard/clps711x-keypad.c+29 -420 replies
7/22Input: jornada680_kbd - switch to using polled mode of input devicesdrivers/input/keyboard/Kconfig drivers/input/keyboard/jornada680_kbd.c+19 -190 replies
8/22Input: gpio_keys_polled - switch to using polled mode of input devicesdrivers/input/keyboard/Kconfig drivers/input/keyboard/gpio_keys_polled.c+34 -320 replies
9/22Input: apanel - switch to using polled mode of input devicesdrivers/input/misc/Kconfig drivers/input/misc/apanel.c+64 -903 replies
10/22Input: wistron_btns - switch to using polled mode of input devicesdrivers/input/misc/Kconfig drivers/input/misc/wistron_btns.c+27 -250 replies
11/22Input: cobalt_btns - convert to use managed resourcesdrivers/input/misc/cobalt_btns.c+17 -400 replies
12/22Input: cobalt_btns - switch to using polled mode of input devicesdrivers/input/misc/Kconfig drivers/input/misc/cobalt_btns.c+14 -130 replies
13/22Input: sgi_btns - switch to using managed resourcesdrivers/input/misc/sgi_btns.c+8 -290 replies
14/22Input: sgi_btns - switch to using polled mode of input devicesdrivers/input/misc/Kconfig drivers/input/misc/sgi_btns.c+13 -130 replies
15/22Input: rb532_button - switch to using managed resourcesdrivers/input/misc/rb532_button.c+2 -180 replies
16/22Input: rb532_button - switch to using polled mode of input devicesdrivers/input/misc/Kconfig drivers/input/misc/rb532_button.c+17 -160 replies
17/22Input: gpio_decoder - switch to using polled mode of input devicesdrivers/input/misc/Kconfig drivers/input/misc/gpio_decoder.c+23 -200 replies
18/22Input: mma8450 - switch to using polled mode of input devicesdrivers/input/misc/Kconfig drivers/input/misc/mma8450.c+46 -560 replies
19/22Input: bma150 - use managed resources helpersdrivers/input/misc/bma150.c+14 -370 replies
20/22Input: bma150 - switch to using polled mode of input devicesdrivers/input/misc/Kconfig drivers/input/misc/bma150.c+44 -1120 replies
21/22Input: kxtj9 - switch to using managed resourcesdrivers/input/misc/kxtj9.c+28 -580 replies
22/22Input: kxtj9 - switch to using polled mode of input devicesdrivers/input/misc/Kconfig drivers/input/misc/kxtj9.c+37 -1220 replies

Reviews trailers per patch

None of the 22 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAndy ShevchenkoMarco Felsch
SeriesA-b A-b
1/22
2/22
3/22
4/22
5/22
6/22
7/22
8/22
9/22
10/22
11/22
12/22
13/22
14/22
15/22
16/22
17/22
18/22
19/22
20/22
21/22
22/22

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/22] Stop using input_polled_dev in polling drivers

Input devices now support polling mode natively (via input_setup_polling API), and input_polled_dev implementation is going away. This series switches drivers found in drivers/input to the new scheme.

Dmitry Torokhov (21):
Input: raspberrypi-ts - switch to using polled mode of input devices
Input: sur40 - switch to using polled mode of input devices
Input: ts4800-ts - switch to using polled mode of input devices
Input: tsc6507x-ts - switch to using polled mode of input devices
Input: adc-keys - switch to using polled mode of input devices
Input: clps711x-keypad - switch to using polled mode of input devices
Input: jornada680_kbd - switch to using polled mode of input devices
Input: gpio_keys_polled - switch to using polled mode of input devices
Input: apanel - switch to using polled mode of input devices
Input: wistron_btns - switch to using polled mode of input devices
Input: cobalt_btns - convert to use managed resources
Input: cobalt_btns - switch to using polled mode of input devices
Input: sgi_btns - switch to using managed resources
Input: sgi_btns - switch to using polled mode of input devices
Input: rb532_button - switch to using managed resources
Input: rb532_button - switch to using polled mode of input devices
Input: gpio_decoder - switch to using polled mode of input devices
Input: mma8450 - switch to using polled mode of input devices
Input: bma150 - switch to using polled mode of input devices
Input: kxtj9 - switch to using managed resources
Input: kxtj9 - switch to using polled mode of input devices

Jonathan Bakker (1):
Input: bma150 - use managed resources helpers

 drivers/input/keyboard/Kconfig             |   4 -
 drivers/input/keyboard/adc-keys.c          |  36 ++--
 drivers/input/keyboard/clps711x-keypad.c   |  70 +++----
 drivers/input/keyboard/gpio_keys_polled.c  |  65 +++---
 drivers/input/keyboard/jornada680_kbd.c    |  37 ++--
 drivers/input/misc/Kconfig                 |  15 --
 drivers/input/misc/apanel.c                | 153 ++++++--------
 drivers/input/misc/bma150.c                | 190 +++++------------
 drivers/input/misc/cobalt_btns.c           |  73 +++----
 drivers/input/misc/gpio_decoder.c          |  42 ++--
 drivers/input/misc/kxtj9.c                 | 224 ++++++---------------
 drivers/input/misc/mma8450.c               | 101 +++++-----
 drivers/input/misc/rb532_button.c          |  48 ++---
 drivers/input/misc/sgi_btns.c              |  54 ++---
 drivers/input/misc/wistron_btns.c          |  51 ++---
 drivers/input/touchscreen/Kconfig          |   4 -
 drivers/input/touchscreen/raspberrypi-ts.c |  38 ++--
 drivers/input/touchscreen/sur40.c          |  92 +++++----
 drivers/input/touchscreen/tps6507x-ts.c    |  36 ++--
 drivers/input/touchscreen/ts4800-ts.c      |  68 ++++---
 20 files changed, 557 insertions(+), 844 deletions(-)
Signature · 1 line
2.23.0.866.gb869b98d4c-goog