summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/Kconfig
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2015-09-15 16:39:45 +0200
committerFelipe Balbi <balbi@ti.com>2015-09-27 17:54:31 +0200
commit2e6c72b61b9a0a7787e8cfa3fff3b34a0c2548ce (patch)
tree46ba0a0afffa7a19715e4593563fed289252832c /drivers/usb/gadget/Kconfig
parentusb: dwc3: gadget: improve ep_queue's error reporting (diff)
downloadlinux-2e6c72b61b9a0a7787e8cfa3fff3b34a0c2548ce.tar.xz
linux-2e6c72b61b9a0a7787e8cfa3fff3b34a0c2548ce.zip
usb: gadget: mass_storage: allow for deeper queue lengths
Instead of allowing a range of 2 to 4 requests, let's allow the user choose up to 32 requests as that will give us a better chance of keeping controller busy. We still maintain default of 2 so users shouldn't be affected. Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/Kconfig')
-rw-r--r--drivers/usb/gadget/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig
index bcf83c0a6e62..33834aa09ed4 100644
--- a/drivers/usb/gadget/Kconfig
+++ b/drivers/usb/gadget/Kconfig
@@ -113,7 +113,7 @@ config USB_GADGET_VBUS_DRAW
config USB_GADGET_STORAGE_NUM_BUFFERS
int "Number of storage pipeline buffers"
- range 2 4
+ range 2 32
default 2
help
Usually 2 buffers are enough to establish a good buffering