projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c17b337
)
usb: dwc2: host: always increment available host channel during release
author
Gregory Herrero
<gregory.herrero@intel.com>
Thu, 5 Nov 2015 08:41:44 +0000
(09:41 +0100)
committer
Felipe Balbi
<balbi@ti.com>
Tue, 15 Dec 2015 15:12:41 +0000
(09:12 -0600)
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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/dwc2/hcd_ddma.c
b/drivers/usb/dwc2/hcd_ddma.c
index 9635d8d4bba402a5d1f11449d414c41d8852d4cd..edccac662d740a38386f0d4942ee14ff31d0de67 100644
(file)
--- a/
drivers/usb/dwc2/hcd_ddma.c
+++ b/
drivers/usb/dwc2/hcd_ddma.c
@@
-278,6
+278,7
@@
static void dwc2_release_channel_ddma(struct dwc2_hsotg *hsotg,
hsotg->non_periodic_channels--;
} else {
dwc2_update_frame_list(hsotg, qh, 0);
+ hsotg->available_host_channels++;
}
/*