Skip to contentSkip to conversation

HID: quirks: Remove ITE 8595 entry from hid_have_special_driver

PATCH Applied Hans de Goede 2 participants 2 messages Jan 31, 2020 – Feb 12, 2020 HID

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 HID: quirks: Remove ITE 8595 entry from hid_have_special_driver

The ITE 8595 chip used in various 2-in-1 keyboard docks works fine with the hid-generic driver (minus the RF_KILL key) and also keeps working fine when swapping drivers, so there is no need to have it in the hid_have_special_driver list.

Note the other 2 USB ids in hid-ite.c were never added to hid_have_special_driver.

---
 drivers/hid/hid-quirks.c | 3 ---
 1 file changed, 3 deletions(-)
drivers/hid/hid-quirks.c +0 -3
index 0e7b2d998395..503cfbe207ab 100644
@@ -397,9 +397,6 @@ static const struct hid_device_id hid_have_special_driver[] = {
 	{ HID_USB_DEVICE(USB_VENDOR_ID_HOLTEK_ALT, USB_DEVICE_ID_HOLTEK_ALT_MOUSE_A081) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_HOLTEK_ALT, USB_DEVICE_ID_HOLTEK_ALT_MOUSE_A0C2) },
 #endif
-#if IS_ENABLED(CONFIG_HID_ITE)
-	{ HID_USB_DEVICE(USB_VENDOR_ID_ITE, USB_DEVICE_ID_ITE8595) },
-#endif
 #if IS_ENABLED(CONFIG_HID_ICADE)
 	{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_ION, USB_DEVICE_ID_ICADE) },
 #endif
Signature · 1 line
2.23.0
maintainer Applied
#1 lore raw
Quoted 18 lines · Hans de Goede

The ITE 8595 chip used in various 2-in-1 keyboard docks works fine with the hid-generic driver (minus the RF_KILL key) and also keeps working fine when swapping drivers, so there is no need to have it in the hid_have_special_driver list.

Note the other 2 USB ids in hid-ite.c were never added to hid_have_special_driver.

---
 drivers/hid/hid-quirks.c | 3 ---
 1 file changed, 3 deletions(-)
drivers/hid/hid-quirks.c +0 -0
index 0e7b2d998395..503cfbe207ab 100644

drivers/hid/hid-quirks.c static const struct hid_device_id hid_have_special_driver[] = { · line 402

Quoted 9 lines
drivers/hid/hid-quirks.c +0 -3
@@ -397,9 +397,6 @@ static const struct hid_device_id hid_have_special_driver[] = {
 	{ HID_USB_DEVICE(USB_VENDOR_ID_HOLTEK_ALT, USB_DEVICE_ID_HOLTEK_ALT_MOUSE_A081) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_HOLTEK_ALT, USB_DEVICE_ID_HOLTEK_ALT_MOUSE_A0C2) },
 #endif
-#if IS_ENABLED(CONFIG_HID_ITE)
-	{ HID_USB_DEVICE(USB_VENDOR_ID_ITE, USB_DEVICE_ID_ITE8595) },
-#endif
 #if IS_ENABLED(CONFIG_HID_ICADE)
 	{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_ION, USB_DEVICE_ID_ICADE) },
 #endif

Applied, thank you Hans.

Signature · 2 lines
Jiri Kosina
SUSE Labs