|
@@ -352,9 +352,6 @@ static int dwc3_alloc_trb_pool(struct dwc3_ep *dep)
|
|
if (dep->trb_pool)
|
|
if (dep->trb_pool)
|
|
return 0;
|
|
return 0;
|
|
|
|
|
|
- if (dep->number == 0 || dep->number == 1)
|
|
|
|
- return 0;
|
|
|
|
-
|
|
|
|
dep->trb_pool = dma_alloc_coherent(dwc->dev,
|
|
dep->trb_pool = dma_alloc_coherent(dwc->dev,
|
|
sizeof(struct dwc3_trb) * DWC3_TRB_NUM,
|
|
sizeof(struct dwc3_trb) * DWC3_TRB_NUM,
|
|
&dep->trb_pool_dma, GFP_KERNEL);
|
|
&dep->trb_pool_dma, GFP_KERNEL);
|