]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/usb/dwc2/platform.c
usb: dwc2: Disable descriptor dma mode by default
[karo-tx-linux.git] / drivers / usb / dwc2 / platform.c
index eaba547ce26b53699744adb4bcc77fa1627a7c05..a10e7a3535768aab9e5d8128dbdb012979f32092 100644 (file)
@@ -134,6 +134,12 @@ static int dwc2_driver_probe(struct platform_device *dev)
                /* Default all params to autodetect */
                dwc2_set_all_params(&defparams, -1);
                params = &defparams;
+
+               /*
+                * Disable descriptor dma mode by default as the HW can support
+                * it, but does not support it for SPLIT transactions.
+                */
+               defparams.dma_desc_enable = 0;
        }
 
        hsotg = devm_kzalloc(&dev->dev, sizeof(*hsotg), GFP_KERNEL);