aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/intel-ish-client-if.h
diff options
context:
space:
mode:
authorHong Liu <hong.liu@intel.com>2019-03-18 12:14:19 -0700
committerJiri Kosina <jkosina@suse.cz>2019-03-19 11:57:23 +0100
commit6b3f75f75fdd225f8c5927b938c29bd24c21fc1b (patch)
tree9ffaea6deae505cae126d5cb2aec6103368ce7cc /include/linux/intel-ish-client-if.h
parentHID: intel-ish: enable raw interface to HID devices on ISH (diff)
downloadlinux-dev-6b3f75f75fdd225f8c5927b938c29bd24c21fc1b.tar.xz
linux-dev-6b3f75f75fdd225f8c5927b938c29bd24c21fc1b.zip
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>
Diffstat (limited to 'include/linux/intel-ish-client-if.h')
0 files changed, 0 insertions, 0 deletions