2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-07 21:24:00 +08:00
linux-next/drivers/hid/intel-ish-hid
Hong Liu 6b3f75f75f HID: intel-ish-hid: Add match callback to ishtp bus type
Currently we depend on the guid check in ishtp_cl_driver.probe to match
the device and driver. However Linux device core first calls the match()
callback to decide the matching of driver and device, and then does some
preparation before calling the driver probe function. If we return error
in the driver probe, it needs to tear down all the preparation work and
retry with next driver.

Adding the match callback can avoid the unnecessary entry into unmatched
driver probe function for ishtp clients reported by FW.

Signed-off-by: Hong Liu <hong.liu@intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2019-03-19 11:57:23 +01:00
..
ipc Merge branch 'for-5.1/i2c-hid' into for-linus 2019-03-05 15:42:51 +01:00
ishtp HID: intel-ish-hid: Add match callback to ishtp bus type 2019-03-19 11:57:23 +01:00
ishtp-hid-client.c HID: intel-ish-hid: Add match callback to ishtp bus type 2019-03-19 11:57:23 +01:00
ishtp-hid.c HID: intel-ish: enable raw interface to HID devices on ISH 2019-03-18 14:46:20 +01:00
ishtp-hid.h HID: intel-ish: enable raw interface to HID devices on ISH 2019-03-18 14:46:20 +01:00
Kconfig HID: intel_ish-hid: enable compile testing 2017-05-30 14:11:52 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00