aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/class/cdc-acm.c
diff options
context:
space:
mode:
authorNikita Yushchenko <[email protected]>2021-09-21 14:59:02 +0000
committerGreg Kroah-Hartman <[email protected]>2021-10-10 13:07:56 +0000
commitbedbac5f66bfcf54d500967417aeaa4088f6eae0 (patch)
tree49e81041668460f1c514e870518d977347ba5355 /drivers/usb/class/cdc-acm.c
parentusb: chipidea: udc: make controller hardware endpoint primed (diff)
downloadkernel-bedbac5f66bfcf54d500967417aeaa4088f6eae0.tar.gz
kernel-bedbac5f66bfcf54d500967417aeaa4088f6eae0.zip
usb: gadget: storage: add support for media larger than 2T
This adds support for READ_CAPACITY(16), READ(16) and WRITE(16) commands, and fixes READ_CAPACITY command to return 0xffffffff if media size does not fit in 32 bits. This makes f_mass_storage to export a 16T disk array correctly. Signed-off-by: Nikita Yushchenko <[email protected]> Acked-by: Alan Stern <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/class/cdc-acm.c')
0 files changed, 0 insertions, 0 deletions