HID: Add ASUS T100CHI keyboard dock battery quirks
authorNOGUCHI Hiroshi <drvlabo@gmail.com>
Tue, 29 Jan 2019 04:31:05 +0000 (13:31 +0900)
committerJiri Kosina <jkosina@suse.cz>
Wed, 13 Feb 2019 23:01:30 +0000 (00:01 +0100)
Add ASUS Transbook T100CHI/T90CHI keyboard dock into battery quirk list, in
order to add specific implementation in hid-asus.

Signed-off-by: NOGUCHI Hiroshi <drvlabo@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-input.c

index 59a5608..b10b192 100644 (file)
@@ -328,6 +328,9 @@ static const struct hid_device_id hid_battery_quirks[] = {
        { HID_USB_DEVICE(USB_VENDOR_ID_SYMBOL,
                USB_DEVICE_ID_SYMBOL_SCANNER_3),
          HID_BATTERY_QUIRK_IGNORE },
+       { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_ASUSTEK,
+               USB_DEVICE_ID_ASUSTEK_T100CHI_KEYBOARD),
+         HID_BATTERY_QUIRK_IGNORE },
        {}
 };