Skip to content

Commit ff71218

Browse files
Miao Ligregkh
authored andcommitted
usb: quirks: Add DELAY_INIT and NO_LPM for Prolific Mass Storage Card Reader
When used on Huawei hisi platforms, Prolific Mass Storage Card Reader which the VID:PID is in 067b:2731 might fail to enumerate at boot time and doesn't work well with LPM enabled, combination quirks: USB_QUIRK_DELAY_INIT + USB_QUIRK_NO_LPM fixed the problems. Signed-off-by: Miao Li <limiao@kylinos.cn> Cc: stable <stable@kernel.org> Link: https://lore.kernel.org/r/20250304070757.139473-1-limiao870622@163.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent c7c1f3b commit ff71218

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

drivers/usb/core/quirks.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,10 @@ static const struct usb_device_id usb_quirk_list[] = {
341341
{ USB_DEVICE(0x0638, 0x0a13), .driver_info =
342342
USB_QUIRK_STRING_FETCH_255 },
343343

344+
/* Prolific Single-LUN Mass Storage Card Reader */
345+
{ USB_DEVICE(0x067b, 0x2731), .driver_info = USB_QUIRK_DELAY_INIT |
346+
USB_QUIRK_NO_LPM },
347+
344348
/* Saitek Cyborg Gold Joystick */
345349
{ USB_DEVICE(0x06a3, 0x0006), .driver_info =
346350
USB_QUIRK_CONFIG_INTF_STRINGS },

0 commit comments

Comments
 (0)