diff options
author | Al Cooper <alcooperx@gmail.com> | 2020-07-22 20:07:44 +0300 |
---|---|---|
committer | Felipe Balbi <balbi@kernel.org> | 2020-07-24 16:45:14 +0300 |
commit | b10d33c4f068ebb70a607d644b7ace259127aa18 (patch) | |
tree | dc3bfd123091866c52d84d0730251088061f8528 /drivers/usb/Makefile | |
parent | 33d1c71832b7b7e56ca82b2f19c5df31297657e6 (diff) | |
download | linux-b10d33c4f068ebb70a607d644b7ace259127aa18.tar.xz |
usb: bdc: driver runs out of buffer descriptors on large ADB transfers
Version v1.0.40 of the Android host ADB software increased maximum
transfer sizes from 256K to 1M. Since the STB ADB gadget driver
requests only 16K at a time, the BDC driver ran out of buffer
descriptors (BDs) if the queuing happens faster than the incoming
16K transfers. This issue is fixed by doubling the number of BDs
that can be queued so that the entire 1M request can be queued
without running out of buffers.
Signed-off-by: Al Cooper <alcooperx@gmail.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
Diffstat (limited to 'drivers/usb/Makefile')
0 files changed, 0 insertions, 0 deletions