]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
HID: core: factor out hid_set_group()
authorBenjamin Tissoires <bentiss@kernel.org>
Thu, 21 Aug 2025 14:38:13 +0000 (16:38 +0200)
committerJiri Kosina <jkosina@suse.com>
Fri, 12 Sep 2025 15:11:55 +0000 (17:11 +0200)
commit4e411a3f7bba10579bbeec3af77ae2a05c9e4259
treed5a702bf91deaf4c5cc5661ecde0e9991b3ff100
parent02d6eeedbc36d4b309d5518778071a749ef79c4e
HID: core: factor out hid_set_group()

When we load a bpf, we can change the report descriptor. However, the
current implementation doesn't change the group meaning that we can not
rebind a device from hid-generic to hid-multitouch.

This is a preparatory patch to force a rescan of the device after the
bpf has been loaded.

Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
drivers/hid/hid-core.c