Loading drivers/usb/dwc3/dwc3-msm.c +2 −2 Original line number Diff line number Diff line Loading @@ -1853,7 +1853,7 @@ static void dwc3_msm_notify_event(struct dwc3 *dwc, unsigned int event) break; evt->dwc = dwc; evt->length = DWC3_EVENT_BUFFERS_SIZE; evt->buf = dma_alloc_coherent(dwc->dev, evt->buf = dma_alloc_coherent(dwc->sysdev, DWC3_EVENT_BUFFERS_SIZE, &evt->dma, GFP_KERNEL); if (!evt->buf) { Loading Loading @@ -1924,7 +1924,7 @@ static void dwc3_msm_notify_event(struct dwc3 *dwc, unsigned int event) for (i = 0; i < mdwc->num_gsi_event_buffers; i++) { evt = mdwc->gsi_ev_buff[i]; if (evt) dma_free_coherent(dwc->dev, evt->length, dma_free_coherent(dwc->sysdev, evt->length, evt->buf, evt->dma); } break; Loading Loading
drivers/usb/dwc3/dwc3-msm.c +2 −2 Original line number Diff line number Diff line Loading @@ -1853,7 +1853,7 @@ static void dwc3_msm_notify_event(struct dwc3 *dwc, unsigned int event) break; evt->dwc = dwc; evt->length = DWC3_EVENT_BUFFERS_SIZE; evt->buf = dma_alloc_coherent(dwc->dev, evt->buf = dma_alloc_coherent(dwc->sysdev, DWC3_EVENT_BUFFERS_SIZE, &evt->dma, GFP_KERNEL); if (!evt->buf) { Loading Loading @@ -1924,7 +1924,7 @@ static void dwc3_msm_notify_event(struct dwc3 *dwc, unsigned int event) for (i = 0; i < mdwc->num_gsi_event_buffers; i++) { evt = mdwc->gsi_ev_buff[i]; if (evt) dma_free_coherent(dwc->dev, evt->length, dma_free_coherent(dwc->sysdev, evt->length, evt->buf, evt->dma); } break; Loading