Enables the gadget descriptor DMA mode by default in the HAPS PCI
driver.

Signed-off-by: John Youn <johny...@synopsys.com>
---
 drivers/usb/dwc2/pci.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/usb/dwc2/pci.c b/drivers/usb/dwc2/pci.c
index 46a9d2b..57e4d82f 100644
--- a/drivers/usb/dwc2/pci.c
+++ b/drivers/usb/dwc2/pci.c
@@ -68,6 +68,7 @@ static int dwc2_pci_quirks(struct pci_dev *pdev, struct 
platform_device *dwc2)
            pdev->device == PCI_PRODUCT_ID_HAPS_HSOTG) {
                struct property_entry properties[] = {
                        PROPERTY_ENTRY_BOOL("snps,gadget-dma-enable"),
+                       PROPERTY_ENTRY_BOOL("snps,gadget-dma-desc-enable"),
                        { },
                };
 
-- 
2.10.0

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to