]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
HID: intel-ish-hid: Update ishtp bus match to support device ID table
authorZhang Lixu <lixu.zhang@intel.com>
Wed, 10 Dec 2025 02:53:28 +0000 (10:53 +0800)
committerBenjamin Tissoires <bentiss@kernel.org>
Fri, 19 Dec 2025 11:10:53 +0000 (12:10 +0100)
commitdaeed86b686855adda79f13729e0c9b0530990be
tree8d1cdb9351bb9af48f2e1b5cd1786201a557f502
parent0e13150c1a13a3a3d6184c24bfd080d5999945d1
HID: intel-ish-hid: Update ishtp bus match to support device ID table

The ishtp_cl_bus_match() function previously only checked the first entry
in the driver's device ID table. Update it to iterate over the entire
table, allowing proper matching for drivers with multiple supported
protocol GUIDs.

Signed-off-by: Zhang Lixu <lixu.zhang@intel.com>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
drivers/hid/intel-ish-hid/ishtp/bus.c