diff mbox series

usb: storage: Add unusual_uas entry for Sony PSZ drives

Message ID 20200826143229.GB400430@rowland.harvard.edu (mailing list archive)
State Mainlined
Commit 20934c0de13b49a072fb1e0ca79fe0fe0e40eae5
Headers show
Series usb: storage: Add unusual_uas entry for Sony PSZ drives | expand

Commit Message

Alan Stern Aug. 26, 2020, 2:32 p.m. UTC
The PSZ-HA* family of USB disk drives from Sony can't handle the
REPORT OPCODES command when using the UAS protocol.  This patch adds
an appropriate quirks entry.

Reported-and-tested-by: Till Dörges <doerges@pre-sense.de>
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
CC: <stable@vger.kernel.org>

---


[as1942]


 drivers/usb/storage/unusual_uas.h |    7 +++++++
 1 file changed, 7 insertions(+)
diff mbox series

Patch

Index: usb-devel/drivers/usb/storage/unusual_uas.h
===================================================================
--- usb-devel.orig/drivers/usb/storage/unusual_uas.h
+++ usb-devel/drivers/usb/storage/unusual_uas.h
@@ -28,6 +28,13 @@ 
  * and don't forget to CC: the USB development list <linux-usb@vger.kernel.org>
  */
 
+/* Reported-by: Till Dörges <doerges@pre-sense.de> */
+UNUSUAL_DEV(0x054c, 0x087d, 0x0000, 0x9999,
+		"Sony",
+		"PSZ-HA*",
+		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
+		US_FL_NO_REPORT_OPCODES),
+
 /* Reported-by: Julian Groß <julian.g@posteo.de> */
 UNUSUAL_DEV(0x059f, 0x105f, 0x0000, 0x9999,
 		"LaCie",