OSDN Git Service

usb: dwc2: gadget: Increase descriptors count for ISOC's
authorMinas Harutyunyan <minas.harutyunyan@synopsys.com>
Mon, 18 Mar 2019 10:24:30 +0000 (14:24 +0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 31 May 2019 13:46:10 +0000 (06:46 -0700)
commit1a7be0fe07776085b55e71a2dbebc1b612ee2871
tree659da2b5dd54e59074862481cd5f0ea1165804eb
parentfc8c5907d8fc99bf7e9aa751a2faad0781840be2
usb: dwc2: gadget: Increase descriptors count for ISOC's

[ Upstream commit 54f37f56631747075f1f9a2f0edf6ba405e3e66c ]

Some function drivers queueing more than 128 ISOC requests at a time.
To avoid "descriptor chain full" cases, increasing descriptors count
from MAX_DMA_DESC_NUM_GENERIC to MAX_DMA_DESC_NUM_HS_ISOC for ISOC's
only.

Signed-off-by: Minas Harutyunyan <hminas@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/usb/dwc2/gadget.c