USB: uas: Add a new NO_REPORT_LUNS quirk
authorHans de Goede <hdegoede@redhat.com>
Tue, 12 Apr 2016 10:27:09 +0000 (12:27 +0200)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 15 Jun 2016 20:28:11 +0000 (21:28 +0100)
commit720c21a8806e7e2ccbb9755880d7ee4c4ef60569
tree800f84d55fbcdc0e043215fd6c7e71c165b543ee
parent1972444b707d53dda2b5cf32bfc955b11cd0a529
USB: uas: Add a new NO_REPORT_LUNS quirk

commit 1363074667a6b7d0507527742ccd7bbed5e3ceaa upstream.

Add a new NO_REPORT_LUNS quirk and set it for Seagate drives with
an usb-id of: 0bc2:331a, as these will fail to respond to a
REPORT_LUNS command.

Reported-and-tested-by: David Webb <djw@noc.ac.uk>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
[bwh: Backported to 3.2:
 - Adjust context
 - Drop the UAS changes]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Documentation/kernel-parameters.txt
drivers/usb/storage/usb.c
include/linux/usb_usual.h