From: Nikolai Kondrashov <spbnick@gmail.com>
Date: Wed, 23 Jul 2014 16:31:57 +0000 (+0300)
Subject: HID: huion: Handle tablets with UC-Logic vendor ID
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3f1f333232fa3c36bbf20de1c6ffefcc96892d07;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git

HID: huion: Handle tablets with UC-Logic vendor ID

Add handling of Huion tablets with UC-Logic vendor ID, but the same
product ID to hid-huion driver. A Huion H580 was seen using it.

Signed-off-by: Nikolai Kondrashov <spbnick@gmail.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
---

diff --git a/drivers/hid/hid-huion.c b/drivers/hid/hid-huion.c
index 6c811c1fbf55..438b54e147bb 100644
--- a/drivers/hid/hid-huion.c
+++ b/drivers/hid/hid-huion.c
@@ -243,6 +243,7 @@ static int huion_raw_event(struct hid_device *hdev, struct hid_report *report,
 
 static const struct hid_device_id huion_devices[] = {
 	{ HID_USB_DEVICE(USB_VENDOR_ID_HUION, USB_DEVICE_ID_HUION_TABLET) },
+	{ HID_USB_DEVICE(USB_VENDOR_ID_UCLOGIC, USB_DEVICE_ID_HUION_TABLET) },
 	{ }
 };
 MODULE_DEVICE_TABLE(hid, huion_devices);