]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blame - releases/3.19.2/uas-add-us_fl_no_report_opcodes-for-jmicron-jms539.patch
4.14-stable patches
[thirdparty/kernel/stable-queue.git] / releases / 3.19.2 / uas-add-us_fl_no_report_opcodes-for-jmicron-jms539.patch
CommitLineData
2bbc3dc8
GKH
1From 59e980efafd27df83a5c85c054f906d82bcbf752 Mon Sep 17 00:00:00 2001
2From: Hans de Goede <hdegoede@redhat.com>
3Date: Mon, 23 Feb 2015 13:41:14 +0100
4Subject: uas: Add US_FL_NO_REPORT_OPCODES for JMicron JMS539
5
6From: Hans de Goede <hdegoede@redhat.com>
7
8commit 59e980efafd27df83a5c85c054f906d82bcbf752 upstream.
9
10Like the JMicron JMS567 enclosures with the JMS539 choke on report-opcodes,
11so avoid it.
12
13Tested-and-reported-by: Tom Arild Naess <tanaess@gmail.com>
14Signed-off-by: Hans de Goede <hdegoede@redhat.com>
15Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
16
17---
18 drivers/usb/storage/unusual_uas.h | 7 +++++++
19 1 file changed, 7 insertions(+)
20
21--- a/drivers/usb/storage/unusual_uas.h
22+++ b/drivers/usb/storage/unusual_uas.h
23@@ -113,6 +113,13 @@ UNUSUAL_DEV(0x0bc2, 0xab2a, 0x0000, 0x99
24 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
25 US_FL_NO_ATA_1X),
26
27+/* Reported-by: Tom Arild Naess <tanaess@gmail.com> */
28+UNUSUAL_DEV(0x152d, 0x0539, 0x0000, 0x9999,
29+ "JMicron",
30+ "JMS539",
31+ USB_SC_DEVICE, USB_PR_DEVICE, NULL,
32+ US_FL_NO_REPORT_OPCODES),
33+
34 /* Reported-by: Claudio Bizzarri <claudio.bizzarri@gmail.com> */
35 UNUSUAL_DEV(0x152d, 0x0567, 0x0000, 0x9999,
36 "JMicron",