linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] usb: quirks: Add NO_LPM quirk for TOSHIBA TransMemory-Mx device
@ 2025-01-13  7:51 limiao
  2025-01-13  7:55 ` Greg KH
  2025-01-13  8:56 ` [PATCH V2] " Miao Li
  0 siblings, 2 replies; 3+ messages in thread
From: limiao @ 2025-01-13  7:51 UTC (permalink / raw)
  To: gregkh; +Cc: linux-usb, linux-kernel, limiao870622, limiao

From: limiao <limiao@kylinos.cn>

TOSHIBA TransMemory-Mx is a good performence flash device, but it
doesn't work well with LPM on Huawei hisi platform, so let's disable
LPM to resolve the issue.

Signed-off-by: limiao <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 13171454f959..67732c791c93 100644
--- a/drivers/usb/core/quirks.c
+++ b/drivers/usb/core/quirks.c
@@ -394,6 +394,9 @@ static const struct usb_device_id usb_quirk_list[] = {
 	/* Kingston DataTraveler 3.0 */
 	{ USB_DEVICE(0x0951, 0x1666), .driver_info = USB_QUIRK_NO_LPM },
 
+	/* TOSHIBA TransMemory-Mx */
+	{ USB_DEVICE(0x0930, 0x1408), .driver_info = USB_QUIRK_NO_LPM },
+
 	/* NVIDIA Jetson devices in Force Recovery mode */
 	{ USB_DEVICE(0x0955, 0x7018), .driver_info = USB_QUIRK_RESET_RESUME },
 	{ USB_DEVICE(0x0955, 0x7019), .driver_info = USB_QUIRK_RESET_RESUME },
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] usb: quirks: Add NO_LPM quirk for TOSHIBA TransMemory-Mx device
  2025-01-13  7:51 [PATCH] usb: quirks: Add NO_LPM quirk for TOSHIBA TransMemory-Mx device limiao
@ 2025-01-13  7:55 ` Greg KH
  2025-01-13  8:56 ` [PATCH V2] " Miao Li
  1 sibling, 0 replies; 3+ messages in thread
From: Greg KH @ 2025-01-13  7:55 UTC (permalink / raw)
  To: limiao; +Cc: linux-usb, linux-kernel, limiao

On Mon, Jan 13, 2025 at 03:51:18PM +0800, limiao wrote:
> From: limiao <limiao@kylinos.cn>
> 
> TOSHIBA TransMemory-Mx is a good performence flash device, but it
> doesn't work well with LPM on Huawei hisi platform, so let's disable
> LPM to resolve the issue.
> 
> Signed-off-by: limiao <limiao@kylinos.cn>

Can we get a "full name" here?  If you want to use your native
characters instead of ascii ones, that too will work quite well.

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH V2] usb: quirks: Add NO_LPM quirk for TOSHIBA TransMemory-Mx device
  2025-01-13  7:51 [PATCH] usb: quirks: Add NO_LPM quirk for TOSHIBA TransMemory-Mx device limiao
  2025-01-13  7:55 ` Greg KH
@ 2025-01-13  8:56 ` Miao Li
  1 sibling, 0 replies; 3+ messages in thread
From: Miao Li @ 2025-01-13  8:56 UTC (permalink / raw)
  To: gregkh; +Cc: linux-usb, linux-kernel, limiao870622, Miao Li

From: Miao Li <limiao@kylinos.cn>

TOSHIBA TransMemory-Mx is a good performence flash device, but it
doesn't work well with LPM on Huawei hisi platform, so let's disable
LPM to resolve the issue.

Signed-off-by: Miao Li <limiao@kylinos.cn>
---
V1 -> V2: Modify the format of author's name to full name

 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 13171454f959..67732c791c93 100644
--- a/drivers/usb/core/quirks.c
+++ b/drivers/usb/core/quirks.c
@@ -394,6 +394,9 @@ static const struct usb_device_id usb_quirk_list[] = {
 	/* Kingston DataTraveler 3.0 */
 	{ USB_DEVICE(0x0951, 0x1666), .driver_info = USB_QUIRK_NO_LPM },
 
+	/* TOSHIBA TransMemory-Mx */
+	{ USB_DEVICE(0x0930, 0x1408), .driver_info = USB_QUIRK_NO_LPM },
+
 	/* NVIDIA Jetson devices in Force Recovery mode */
 	{ USB_DEVICE(0x0955, 0x7018), .driver_info = USB_QUIRK_RESET_RESUME },
 	{ USB_DEVICE(0x0955, 0x7019), .driver_info = USB_QUIRK_RESET_RESUME },
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-01-13  8:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-13  7:51 [PATCH] usb: quirks: Add NO_LPM quirk for TOSHIBA TransMemory-Mx device limiao
2025-01-13  7:55 ` Greg KH
2025-01-13  8:56 ` [PATCH V2] " Miao Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).