hid-uclogic-params.c (f29f24b5568fd6169e0363c78f1a80db38d0e7e9) hid-uclogic-params.c (88bb346dd63b65e5cb4922466cffbbb27d24f08d)
1// SPDX-License-Identifier: GPL-2.0+
2/*
3 * HID driver for UC-Logic devices not fully compliant with HID standard
4 * - tablet initialization and parameter retrieval
5 *
6 * Copyright (c) 2018 Nikolai Kondrashov
7 */
8

--- 985 unchanged lines hidden (view full) ---

994 goto cleanup;
995 break;
996 case VID_PID(USB_VENDOR_ID_UGTIZER,
997 USB_DEVICE_ID_UGTIZER_TABLET_GP0610):
998 case VID_PID(USB_VENDOR_ID_UGEE,
999 USB_DEVICE_ID_UGEE_XPPEN_TABLET_G540):
1000 case VID_PID(USB_VENDOR_ID_UGEE,
1001 USB_DEVICE_ID_UGEE_XPPEN_TABLET_G640):
1// SPDX-License-Identifier: GPL-2.0+
2/*
3 * HID driver for UC-Logic devices not fully compliant with HID standard
4 * - tablet initialization and parameter retrieval
5 *
6 * Copyright (c) 2018 Nikolai Kondrashov
7 */
8

--- 985 unchanged lines hidden (view full) ---

994 goto cleanup;
995 break;
996 case VID_PID(USB_VENDOR_ID_UGTIZER,
997 USB_DEVICE_ID_UGTIZER_TABLET_GP0610):
998 case VID_PID(USB_VENDOR_ID_UGEE,
999 USB_DEVICE_ID_UGEE_XPPEN_TABLET_G540):
1000 case VID_PID(USB_VENDOR_ID_UGEE,
1001 USB_DEVICE_ID_UGEE_XPPEN_TABLET_G640):
1002 case VID_PID(USB_VENDOR_ID_UGEE,
1003 USB_DEVICE_ID_UGEE_TABLET_RAINBOW_CV720):
1002 /* If this is the pen interface */
1003 if (bInterfaceNumber == 1) {
1004 /* Probe v1 pen parameters */
1005 rc = uclogic_params_pen_init_v1(&p.pen, &found, hdev);
1006 if (rc != 0) {
1007 hid_err(hdev, "pen probing failed: %d\n", rc);
1008 goto cleanup;
1009 }

--- 109 unchanged lines hidden ---
1004 /* If this is the pen interface */
1005 if (bInterfaceNumber == 1) {
1006 /* Probe v1 pen parameters */
1007 rc = uclogic_params_pen_init_v1(&p.pen, &found, hdev);
1008 if (rc != 0) {
1009 hid_err(hdev, "pen probing failed: %d\n", rc);
1010 goto cleanup;
1011 }

--- 109 unchanged lines hidden ---