summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJim Lin <jilin@nvidia.com>2020-03-02 22:21:35 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-03-11 07:51:17 +0100
commitccd487f072897a72036d31801d6553fabbd97315 (patch)
treeb004d3e8c659060824f3d0537a36dfcbf29a3684 /include/linux
parent96c2df3e562bc5dbeab189b243eabcf0e42502c2 (diff)
usb: storage: Add quirk for Samsung Fit flash
commit 86d92f5465958752481269348d474414dccb1552 upstream. 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 'include/linux')
0 files changed, 0 insertions, 0 deletions