aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/storage/unusual_uas.h
diff options
context:
space:
mode:
authorDmitry Katsubo2015-11-20 01:30:44 +0100
committerGreg Kroah-Hartman2015-12-01 10:23:33 -0800
commit9fa62b1a31c96715aef34f25000e882ed4ac4876 (patch)
tree7e206671dc2117b1b78b5e36e9b6e80aee0bfc19 /drivers/usb/storage/unusual_uas.h
parentdf36c5bede207f734e4750beb2b14fb892050280 (diff)
usb-storage: Fix scsi-sd failure "Invalid field in cdb" for USB adapter JMicron
The patch extends the family of SATA-to-USB JMicron adapters that need FUA to be disabled and applies the same policy for uas driver. See details in http://unix.stackexchange.com/questions/237204/ Signed-off-by: Dmitry Katsubo <dmitry.katsubo@gmail.com> Tested-by: Dmitry Katsubo <dmitry.katsubo@gmail.com> Acked-by: Alan Stern <stern@rowland.harvard.edu> Cc: stable <stable@vger.kernel.org> 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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/storage/unusual_uas.h b/drivers/usb/storage/unusual_uas.h
index c85ea530085f..ccc113e83d88 100644
--- a/drivers/usb/storage/unusual_uas.h
+++ b/drivers/usb/storage/unusual_uas.h
@@ -132,7 +132,7 @@ UNUSUAL_DEV(0x152d, 0x0567, 0x0000, 0x9999,
"JMicron",
"JMS567",
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
- US_FL_NO_REPORT_OPCODES),
+ US_FL_BROKEN_FUA | US_FL_NO_REPORT_OPCODES),
/* Reported-by: Hans de Goede <hdegoede@redhat.com> */
UNUSUAL_DEV(0x2109, 0x0711, 0x0000, 0x9999,