uas: Set max_sectors_240 quirk for ASM1053 devices
authorHans de Goede <hdegoede@redhat.com>
Tue, 21 Apr 2015 09:20:32 +0000 (11:20 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Apr 2015 10:48:57 +0000 (12:48 +0200)
commit8e779c6c4a398763c21371fe40f649206041dc1e
treea1c51f7ae771a724b2973ceda97639082632fd58
parentee136af4a064c2f61e2025873584d2c7ec93f4ae
uas: Set max_sectors_240 quirk for ASM1053 devices

Testing has shown that ASM1053 devices do not work properly with transfers
larger than 240 sectors, so set max_sectors to 240 on these.

Cc: stable@vger.kernel.org # 3.16
Reported-by: Steve Bangert <sbangert@frontier.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Tested-by: Steve Bangert <sbangert@frontier.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/storage/uas-detect.h