]> Git Repo - linux.git/commitdiff
usb: chipidea: tegra: Use aligned DMA on Tegra114/124
authorMarcel Ziswiler <[email protected]>
Mon, 25 Jun 2018 07:58:43 +0000 (09:58 +0200)
committerPeter Chen <[email protected]>
Tue, 26 Jun 2018 02:15:31 +0000 (10:15 +0800)
USB Ethernet gadget now works on Tegra114 and Tegra124.

Similar to commit 061e20e9899e ("usb: chipidea: tegra: Use aligned DMA
on Tegra30").

Signed-off-by: Marcel Ziswiler <[email protected]>
Signed-off-by: Peter Chen <[email protected]>
drivers/usb/chipidea/ci_hdrc_tegra.c

index 7f4d2b6af37a0899a89503d3d339a59deb398010..772851bee99b6bfe74396cbdf89dc9665c15a459 100644 (file)
@@ -33,11 +33,11 @@ static const struct tegra_udc_soc_info tegra30_udc_soc_info = {
 };
 
 static const struct tegra_udc_soc_info tegra114_udc_soc_info = {
-       .flags = 0,
+       .flags = CI_HDRC_REQUIRES_ALIGNED_DMA,
 };
 
 static const struct tegra_udc_soc_info tegra124_udc_soc_info = {
-       .flags = 0,
+       .flags = CI_HDRC_REQUIRES_ALIGNED_DMA,
 };
 
 static const struct of_device_id tegra_udc_of_match[] = {
This page took 0.057759 seconds and 4 git commands to generate.