aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/storage/unusual_uas.h
diff options
context:
space:
mode:
authorOliver Neukum <oneukum@suse.com>2020-12-09 16:26:39 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-12-09 20:00:26 +0100
commit8010622c86ca5bb44bc98492f5968726fc7c7a21 (patch)
treeb623c73856ab6609f3e6c81fa33702cad33a16f1 /drivers/usb/storage/unusual_uas.h
parente5548b05631ec3e6bfdaef1cad28c799545b791b (diff)
downloadlinux-8010622c86ca5bb44bc98492f5968726fc7c7a21.tar.gz
USB: UAS: introduce a quirk to set no_write_same
UAS does not share the pessimistic assumption storage is making that devices cannot deal with WRITE_SAME. A few devices supported by UAS, are reported to not deal well with WRITE_SAME. Those need a quirk. Add it to the device that needs it. Reported-by: David C. Partridge <david.partridge@perdrix.co.uk> Signed-off-by: Oliver Neukum <oneukum@suse.com> Cc: stable <stable@vger.kernel.org> Link: https://lore.kernel.org/r/20201209152639.9195-1-oneukum@suse.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/storage/unusual_uas.h')
-rw-r--r--drivers/usb/storage/unusual_uas.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/usb/storage/unusual_uas.h b/drivers/usb/storage/unusual_uas.h
index 711ab240058c7..870e9cf3d5dc4 100644
--- a/drivers/usb/storage/unusual_uas.h
+++ b/drivers/usb/storage/unusual_uas.h
@@ -35,12 +35,15 @@ UNUSUAL_DEV(0x054c, 0x087d, 0x0000, 0x9999,
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
US_FL_NO_REPORT_OPCODES),
-/* Reported-by: Julian Groß <julian.g@posteo.de> */
+/*
+ * Initially Reported-by: Julian Groß <julian.g@posteo.de>
+ * Further reports David C. Partridge <david.partridge@perdrix.co.uk>
+ */
UNUSUAL_DEV(0x059f, 0x105f, 0x0000, 0x9999,
"LaCie",
"2Big Quadra USB3",
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
- US_FL_NO_REPORT_OPCODES),
+ US_FL_NO_REPORT_OPCODES | US_FL_NO_SAME),
/*
* Apricorn USB3 dongle sometimes returns "USBSUSBSUSBS" in response to SCSI