[GIT PULL] HID for 6.7

From: Jiri Kosina
Date: Tue Oct 31 2023 - 19:43:37 EST


Linus,

please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git tags/for-linus-2023110101

to receive HID subsystem patches queued for 6.7; namely:

=====
- fixes for crashes detected by CONFIG_KUNIT_ALL_TESTS in hid-uclogic
driver (Jinjie Ruan)

- HID selftests fixes and improvements (Benjamin Tissoires)

- probe error handling path fixes in hid-nvidia-shield driver (Christophe
JAILLET)

- cleanup of LED handling in hid-nintendo (Martino Fontana)

- big cleanup of logitech-hidpp probe code (Hans de Goede)

- Suspend/Resume fix for USB Thinkpad Compact Keyboard (Jamie Lentin)

- firmware detection improvement for Lenovo cptkbd (Mikhail Khvainitski)

- IRQ shutdown and workqueue initialization fixes for hid-cp2112 driver
(Danny Kaehn)

- #ifdef CONFIG_PM removal from HID code (Thomas Weißschuh)

- other assorted device-ID additions and quirks
=====

----------------------------------------------------------------
Benjamin Tissoires (3):
selftests/hid: ensure we can compile the tests on kernels pre-6.3
selftests/hid: do not manually call headers_install
selftests/hid: force using our compiled libbpf headers

Christophe JAILLET (3):
HID: nvidia-shield: Fix a missing led_classdev_unregister() in the probe error handling path
HID: nvidia-shield: Fix some missing function calls() in the probe error handling path
HID: nvidia-shield: Introduce thunderstrike_destroy()

Danny Kaehn (2):
hid: cp2112: Fix duplicate workqueue initialization
hid: cp2112: Fix IRQ shutdown stopping polling for all IRQs on chip

Hans de Goede (13):
HID: logitech-hidpp: Don't restart IO, instead defer hid_connect() only
HID: logitech-hidpp: Revert "Don't restart communication if not necessary"
HID: logitech-hidpp: Move get_wireless_feature_index() check to hidpp_connect_event()
HID: logitech-hidpp: Remove wtp_get_config() call from probe()
HID: logitech-hidpp: Move g920_get_config() to just before hidpp_ff_init()
HID: logitech-hidpp: Move hidpp_overwrite_name() to before connect check
HID: logitech-hidpp: Add hidpp_non_unifying_init() helper
HID: logitech-hidpp: Remove connected check for non-unifying devices
HID: logitech-hidpp: Remove unused connected param from *_connect()
HID: logitech-hidpp: Fix connect event race
HID: logitech-hidpp: Drop delayed_work_cb()
HID: logitech-hidpp: Drop HIDPP_QUIRK_UNIFYING
HID: logitech-hidpp: Stop IO before calling hid_connect()

Jamie Lentin (1):
hid: lenovo: Resend all settings on reset_resume for compact keyboards

Jinjie Ruan (2):
HID: uclogic: Fix user-memory-access bug in uclogic_params_ugee_v2_init_event_hooks()
HID: uclogic: Fix a work->entry not empty bug in __queue_work()

Jiri Kosina (9):
HID: Add quirk for Dell Pro Wireless Keyboard and Mouse KM5221W

Martino Fontana (1):
HID: nintendo: cleanup LED code

Mikhail Khvainitski (1):
HID: lenovo: Detect quirk-free fw on cptkbd and stop applying workaround

Thomas Weißschuh (4):
HID: core: remove #ifdef CONFIG_PM from hid_driver
HID: usbhid: remove #ifdef CONFIG_PM
HID: multitouch: remove #ifdef CONFIG_PM
HID: rmi: remove #ifdef CONFIG_PM

drivers/hid/hid-cp2112.c | 10 +-
drivers/hid/hid-ids.h | 1 +
drivers/hid/hid-lenovo.c | 118 +++++++++-----
drivers/hid/hid-logitech-hidpp.c | 174 ++++++++-------------
drivers/hid/hid-multitouch.c | 10 +-
drivers/hid/hid-nintendo.c | 133 +++++++++-------
drivers/hid/hid-nvidia-shield.c | 21 +--
drivers/hid/hid-quirks.c | 1 +
drivers/hid/hid-rmi.c | 10 +-
drivers/hid/hid-uclogic-core-test.c | 7 +
drivers/hid/hid-uclogic-params-test.c | 16 +-
drivers/hid/usbhid/hid-core.c | 11 +-
include/linux/hid.h | 4 +-
tools/testing/selftests/hid/Makefile | 10 +-
tools/testing/selftests/hid/progs/hid.c | 3 -
.../testing/selftests/hid/progs/hid_bpf_helpers.h | 77 +++++++++
16 files changed, 352 insertions(+), 254 deletions(-)

--
Jiri Kosina
SUSE Labs