]> git.ipfire.org Git - thirdparty/kernel/stable.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>
Thu, 13 Mar 2025 11:47:17 +0000 (12:47 +0100)
commit e169d96eecd447ff7fd7542ca5fa0911f5622054 upstream.

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 3a54d76c55a34272f0007ef361018cb0b945a069..354d390c0d05a0a5f48dcb1713e73d2996bb2cc6 100644 (file)
@@ -520,6 +520,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 },