]> 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:31:09 +0000 (16:31 +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 46db600fdd824ea51c15722a46c91d2363f13697..bfd97cad8aa4d7eeb9f16a4df428e14a3337d2e0 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 */