diff options
Diffstat (limited to 'drivers/usb/dwc2/platform.c')
-rw-r--r-- | drivers/usb/dwc2/platform.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/usb/dwc2/platform.c b/drivers/usb/dwc2/platform.c index eaba547ce26b..a10e7a353576 100644 --- a/drivers/usb/dwc2/platform.c +++ b/drivers/usb/dwc2/platform.c | |||
@@ -134,6 +134,12 @@ static int dwc2_driver_probe(struct platform_device *dev) | |||
134 | /* Default all params to autodetect */ | 134 | /* Default all params to autodetect */ |
135 | dwc2_set_all_params(&defparams, -1); | 135 | dwc2_set_all_params(&defparams, -1); |
136 | params = &defparams; | 136 | params = &defparams; |
137 | |||
138 | /* | ||
139 | * Disable descriptor dma mode by default as the HW can support | ||
140 | * it, but does not support it for SPLIT transactions. | ||
141 | */ | ||
142 | defparams.dma_desc_enable = 0; | ||
137 | } | 143 | } |
138 | 144 | ||
139 | hsotg = devm_kzalloc(&dev->dev, sizeof(*hsotg), GFP_KERNEL); | 145 | hsotg = devm_kzalloc(&dev->dev, sizeof(*hsotg), GFP_KERNEL); |