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)
committerFelipe Balbi <balbi@ti.com>
Tue, 15 Dec 2015 15:12:41 +0000 (09:12 -0600)
commit3f808bdae75eaf464b1b2710894950772a3784f8
tree4f6b636a0b448080a93a562c210325e98adcc4e6
parentc17b337c1ea4c681595531912585a94f4bd7f8e7
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.

Acked-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Gregory Herrero <gregory.herrero@intel.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc2/hcd_ddma.c