Loading drivers/usb/dwc3/dwc3-msm.c +4 −0 Original line number Diff line number Diff line Loading @@ -4833,7 +4833,9 @@ static int dwc3_otg_start_host(struct dwc3_msm *mdwc, int on) mdwc->host_nb.notifier_call = dwc3_msm_host_notifier; #ifdef USB_CONFIG usb_register_notify(&mdwc->host_nb); #endif dwc3_set_prtcap(dwc, DWC3_GCTL_PRTCAP_HOST); if (!dwc->dis_enblslpm_quirk) Loading Loading @@ -4912,7 +4914,9 @@ static int dwc3_otg_start_host(struct dwc3_msm *mdwc, int on) mdwc->hs_phy->flags &= ~PHY_HOST_MODE; dwc3_host_exit(dwc); #ifdef USB_CONFIG usb_unregister_notify(&mdwc->host_nb); #endif dwc3_set_prtcap(dwc, DWC3_GCTL_PRTCAP_DEVICE); dwc3_msm_write_reg_field(mdwc->base, DWC3_GUSB3PIPECTL(0), Loading include/linux/usb/xhci-sec.h +4 −4 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ /* * xHCI secondary ring APIs * * Copyright (c) 2019, The Linux Foundation. All rights reserved. * Copyright (c) 2019,2021 The Linux Foundation. All rights reserved. */ #ifndef __LINUX_XHCI_SEC_H Loading @@ -20,7 +20,7 @@ phys_addr_t xhci_get_xfer_ring_phys_addr(struct usb_device *udev, int xhci_stop_endpoint(struct usb_device *udev, struct usb_host_endpoint *ep); #else static inline int xhci_sec_event_ring_setup(struct usb_device *udev, unsigned int intr_num); unsigned int intr_num) { return -ENODEV; } Loading @@ -35,13 +35,13 @@ static inline phys_addr_t xhci_get_sec_event_ring_phys_addr( struct usb_device *udev, unsigned int intr_num, dma_addr_t *dma) { return NULL; return 0; } static inline phys_addr_t xhci_get_xfer_ring_phys_addr(struct usb_device *udev, struct usb_host_endpoint *ep, dma_addr_t *dma) { return NULL; return 0; } static inline int xhci_stop_endpoint(struct usb_device *udev, Loading Loading
drivers/usb/dwc3/dwc3-msm.c +4 −0 Original line number Diff line number Diff line Loading @@ -4833,7 +4833,9 @@ static int dwc3_otg_start_host(struct dwc3_msm *mdwc, int on) mdwc->host_nb.notifier_call = dwc3_msm_host_notifier; #ifdef USB_CONFIG usb_register_notify(&mdwc->host_nb); #endif dwc3_set_prtcap(dwc, DWC3_GCTL_PRTCAP_HOST); if (!dwc->dis_enblslpm_quirk) Loading Loading @@ -4912,7 +4914,9 @@ static int dwc3_otg_start_host(struct dwc3_msm *mdwc, int on) mdwc->hs_phy->flags &= ~PHY_HOST_MODE; dwc3_host_exit(dwc); #ifdef USB_CONFIG usb_unregister_notify(&mdwc->host_nb); #endif dwc3_set_prtcap(dwc, DWC3_GCTL_PRTCAP_DEVICE); dwc3_msm_write_reg_field(mdwc->base, DWC3_GUSB3PIPECTL(0), Loading
include/linux/usb/xhci-sec.h +4 −4 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ /* * xHCI secondary ring APIs * * Copyright (c) 2019, The Linux Foundation. All rights reserved. * Copyright (c) 2019,2021 The Linux Foundation. All rights reserved. */ #ifndef __LINUX_XHCI_SEC_H Loading @@ -20,7 +20,7 @@ phys_addr_t xhci_get_xfer_ring_phys_addr(struct usb_device *udev, int xhci_stop_endpoint(struct usb_device *udev, struct usb_host_endpoint *ep); #else static inline int xhci_sec_event_ring_setup(struct usb_device *udev, unsigned int intr_num); unsigned int intr_num) { return -ENODEV; } Loading @@ -35,13 +35,13 @@ static inline phys_addr_t xhci_get_sec_event_ring_phys_addr( struct usb_device *udev, unsigned int intr_num, dma_addr_t *dma) { return NULL; return 0; } static inline phys_addr_t xhci_get_xfer_ring_phys_addr(struct usb_device *udev, struct usb_host_endpoint *ep, dma_addr_t *dma) { return NULL; return 0; } static inline int xhci_stop_endpoint(struct usb_device *udev, Loading