mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
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>
This commit is contained in:
parent
c17b337c1e
commit
3f808bdae7
@ -278,6 +278,7 @@ static void dwc2_release_channel_ddma(struct dwc2_hsotg *hsotg,
|
|||||||
hsotg->non_periodic_channels--;
|
hsotg->non_periodic_channels--;
|
||||||
} else {
|
} else {
|
||||||
dwc2_update_frame_list(hsotg, qh, 0);
|
dwc2_update_frame_list(hsotg, qh, 0);
|
||||||
|
hsotg->available_host_channels++;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user