diff mbox series

usb: quirks: Add NO_LPM quirk for Teclast disk

Message ID 20250213101259.239530-1-limiao870622@163.com (mailing list archive)
State Accepted
Commit e169d96eecd447ff7fd7542ca5fa0911f5622054
Headers show
Series usb: quirks: Add NO_LPM quirk for Teclast disk | expand

Commit Message

Miao Li Feb. 13, 2025, 10:12 a.m. UTC
From: Miao Li <limiao@kylinos.cn>

Teclast disk which the VID:PID is in 1f75:0917 will encounter work trouble
used on Huawei hisi platforms with LPM enabled, applying NO_LPM quirk for
this device fixed the problem.

Signed-off-by: Miao Li <limiao@kylinos.cn>
---
 drivers/usb/core/quirks.c | 3 +++
 1 file changed, 3 insertions(+)

Comments

Greg KH Feb. 14, 2025, 8:17 a.m. UTC | #1
On Thu, Feb 13, 2025 at 06:12:59PM +0800, Miao Li wrote:
> From: Miao Li <limiao@kylinos.cn>
> 
> Teclast disk which the VID:PID is in 1f75:0917 will encounter work trouble
> used on Huawei hisi platforms with LPM enabled, applying NO_LPM quirk for
> this device fixed the problem.
> 
> Signed-off-by: Miao Li <limiao@kylinos.cn>
> ---
>  drivers/usb/core/quirks.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/drivers/usb/core/quirks.c b/drivers/usb/core/quirks.c
> index 67732c791c93..3927c7d66dac 100644
> --- a/drivers/usb/core/quirks.c
> +++ b/drivers/usb/core/quirks.c
> @@ -525,6 +525,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 },
> -- 
> 2.25.1
> 
> 

This was also sent a day before:
	https://lore.kernel.org/r/20250212093829.7379-1-huanglei814@163.com
diff mbox series

Patch

diff --git a/drivers/usb/core/quirks.c b/drivers/usb/core/quirks.c
index 67732c791c93..3927c7d66dac 100644
--- a/drivers/usb/core/quirks.c
+++ b/drivers/usb/core/quirks.c
@@ -525,6 +525,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 },