commit | 4bc43a421218b6cebc7c926fea001b166ea3677c | [log] [tgz] |
---|---|---|
author | Hans de Goede <hdegoede@redhat.com> | Tue Apr 28 16:22:51 2020 +0200 |
committer | Jiri Kosina <jkosina@suse.cz> | Wed May 06 11:40:03 2020 +0200 |
tree | 668145e6f37ed193213e626fc42ae4d5e52a4347 | |
parent | a80b2f309883cb021ac05f992f785f15d7d748cf [diff] |
HID: asus: Add hid_is_using_ll_driver(usb_hid_driver) check Add a hid_is_using_ll_driver(usb_hid_driver) check to ensure that the parent device is an usb_interface, before casting the parent device pointer to an usb_interface pointer with to_usb_interface(). Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>