Loading drivers/usb/dwc2/hcd.c +6 −0 Original line number Original line Diff line number Diff line Loading @@ -2913,6 +2913,9 @@ int dwc2_hcd_init(struct dwc2_hsotg *hsotg, int irq) /* Don't support SG list at this point */ /* Don't support SG list at this point */ hcd->self.sg_tablesize = 0; hcd->self.sg_tablesize = 0; if (!IS_ERR_OR_NULL(hsotg->uphy)) otg_set_host(hsotg->uphy->otg, &hcd->self); /* /* * Finish generic HCD initialization and start the HCD. This function * Finish generic HCD initialization and start the HCD. This function * allocates the DMA buffer pool, registers the USB bus, requests the * allocates the DMA buffer pool, registers the USB bus, requests the Loading Loading @@ -2966,6 +2969,9 @@ void dwc2_hcd_remove(struct dwc2_hsotg *hsotg) return; return; } } if (!IS_ERR_OR_NULL(hsotg->uphy)) otg_set_host(hsotg->uphy->otg, NULL); usb_remove_hcd(hcd); usb_remove_hcd(hcd); hsotg->priv = NULL; hsotg->priv = NULL; dwc2_hcd_release(hsotg); dwc2_hcd_release(hsotg); Loading Loading
drivers/usb/dwc2/hcd.c +6 −0 Original line number Original line Diff line number Diff line Loading @@ -2913,6 +2913,9 @@ int dwc2_hcd_init(struct dwc2_hsotg *hsotg, int irq) /* Don't support SG list at this point */ /* Don't support SG list at this point */ hcd->self.sg_tablesize = 0; hcd->self.sg_tablesize = 0; if (!IS_ERR_OR_NULL(hsotg->uphy)) otg_set_host(hsotg->uphy->otg, &hcd->self); /* /* * Finish generic HCD initialization and start the HCD. This function * Finish generic HCD initialization and start the HCD. This function * allocates the DMA buffer pool, registers the USB bus, requests the * allocates the DMA buffer pool, registers the USB bus, requests the Loading Loading @@ -2966,6 +2969,9 @@ void dwc2_hcd_remove(struct dwc2_hsotg *hsotg) return; return; } } if (!IS_ERR_OR_NULL(hsotg->uphy)) otg_set_host(hsotg->uphy->otg, NULL); usb_remove_hcd(hcd); usb_remove_hcd(hcd); hsotg->priv = NULL; hsotg->priv = NULL; dwc2_hcd_release(hsotg); dwc2_hcd_release(hsotg); Loading