]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
USB: quirks: add USB_QUIRK_NO_LPM quirk for Teclast dist
authorLei Huang <huanglei@kylinos.cn>
Wed, 12 Feb 2025 09:38:29 +0000 (17:38 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 Feb 2025 08:25:41 +0000 (09:25 +0100)
Teclast disk used on Huawei hisi platforms doesn't work well,
losing connectivity intermittently if LPM is enabled.
Add quirk disable LPM to resolve the issue.

Signed-off-by: Lei Huang <huanglei@kylinos.cn>
Cc: stable <stable@kernel.org>
Link: https://lore.kernel.org/r/20250212093829.7379-1-huanglei814@163.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/quirks.c

index 59ed9768dae1f771270c88876ec27e355e451b07..dfcfc142bd5e1c338e7a841b21eafd69e878e671 100644 (file)
@@ -528,6 +528,9 @@ static const struct usb_device_id usb_quirk_list[] = {
        /* Blackmagic Design UltraStudio SDI */
        { USB_DEVICE(0x1edb, 0xbd4f), .driver_info = USB_QUIRK_NO_LPM },
 
+       /* Teclast disk */
+       { USB_DEVICE(0x1f75, 0x0917), .driver_info = USB_QUIRK_NO_LPM },
+
        /* Hauppauge HVR-950q */
        { USB_DEVICE(0x2040, 0x7200), .driver_info =
                        USB_QUIRK_CONFIG_INTF_STRINGS },