UPSTREAM: usb: dwc3: gadget: add a per-endpoint request queue lock
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Wed, 13 Apr 2016 13:44:39 +0000 (16:44 +0300)
committerHuang, Tao <huangtao@rock-chips.com>
Tue, 16 Aug 2016 12:48:19 +0000 (20:48 +0800)
commit640d996726759bbe9af734f12f99ae2ae3e804bf
treee4123991a66e57ab79f281197aac55bac445737d
parent26034996846d04b346530e846f5679496fd0df0b
UPSTREAM: usb: dwc3: gadget: add a per-endpoint request queue lock

This will allow us to process several endpoints at a
time by making sure that we lock only shared
resources.

Change-Id: I87b6ffd1db1fbbdaeed30271b984918b5e0d9b6c
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Wu Liang feng <wulf@rock-chips.com>
(cherry picked from commit 74674cbf858ff6a83c3f06f4ab0ffa5d3c91bf0b)
drivers/usb/dwc3/core.h
drivers/usb/dwc3/gadget.c