diff options
author | 2020-03-02 22:21:35 +0800 | |
---|---|---|
committer | 2020-03-04 10:56:26 +0100 | |
commit | 86d92f5465958752481269348d474414dccb1552 (patch) | |
tree | ef031fe80fc201202342880589127bc1eee139fd /lib/test_overflow.c | |
parent | usb: quirks: add NO_LPM quirk for Logitech Screen Share (diff) | |
download | wireguard-linux-86d92f5465958752481269348d474414dccb1552.tar.xz wireguard-linux-86d92f5465958752481269348d474414dccb1552.zip |
usb: storage: Add quirk for Samsung Fit flash
Current driver has 240 (USB2.0) and 2048 (USB3.0) as max_sectors,
e.g., /sys/bus/scsi/devices/0:0:0:0/max_sectors
If data access times out, driver error handling will issue a port
reset.
Sometimes Samsung Fit (090C:1000) flash disk will not respond to
later Set Address or Get Descriptor command.
Adding this quirk to limit max_sectors to 64 sectors to avoid issue
occurring.
Signed-off-by: Jim Lin <jilin@nvidia.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Cc: stable <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/1583158895-31342-1-git-send-email-jilin@nvidia.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions