UPSTREAM: usb: dwc2: host: always increment available host channel during release
authorGregory Herrero <gregory.herrero@intel.com>
Thu, 5 Nov 2015 08:41:44 +0000 (09:41 +0100)
committerHuang, Tao <huangtao@rock-chips.com>
Tue, 3 Jan 2017 09:50:24 +0000 (17:50 +0800)
commitc5a3ecbb1f63be5b60b59a0599192b8ad6fe79a9
tree3546fc978f69be14254b714e6fac842365179266
parent72e5db7be823ecdccb268e3aba48657fbfab8e37
UPSTREAM: usb: dwc2: host: always increment available host channel during release

When releasing a channel, increment hsotg->available_host_channels even
in case a periodic channel is released.

Change-Id: I436f6b2db2a823e3479e7f1cd0a8c97ee498a64b
Acked-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Gregory Herrero <gregory.herrero@intel.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
(cherry picked from commit 3f808bdae75eaf464b1b2710894950772a3784f8)
drivers/usb/dwc2/hcd_ddma.c