]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
usb: quirks: Add DELAY_INIT quick for another SanDisk 3.2Gen1 Flash Drive
authorMiao Li <limiao@kylinos.cn>
Fri, 1 Aug 2025 08:27:28 +0000 (16:27 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Aug 2025 14:34:40 +0000 (16:34 +0200)
commit e664036cf36480414936cd91f4cfa2179a3d8367 upstream.

Another SanDisk 3.2Gen1 Flash Drive also need DELAY_INIT quick,
or it will randomly work incorrectly on Huawei hisi platforms
when doing reboot test.

Signed-off-by: Miao Li <limiao@kylinos.cn>
Cc: stable <stable@kernel.org>
Link: https://lore.kernel.org/r/20250801082728.469406-1-limiao870622@163.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/quirks.c

index 0cf94c7a2c9ce68e76dc12947dce241ec024b597..d6daad39491b7528282064d037143c87cafc5d80 100644 (file)
@@ -371,6 +371,7 @@ static const struct usb_device_id usb_quirk_list[] = {
        { USB_DEVICE(0x0781, 0x5591), .driver_info = USB_QUIRK_NO_LPM },
 
        /* SanDisk Corp. SanDisk 3.2Gen1 */
+       { USB_DEVICE(0x0781, 0x5596), .driver_info = USB_QUIRK_DELAY_INIT },
        { USB_DEVICE(0x0781, 0x55a3), .driver_info = USB_QUIRK_DELAY_INIT },
 
        /* SanDisk Extreme 55AE */