usb: chipidea: tegra: Use aligned DMA on Tegra30
authorDmitry Osipenko <digetx@gmail.com>
Tue, 19 Dec 2017 02:58:07 +0000 (05:58 +0300)
committerPeter Chen <peter.chen@nxp.com>
Thu, 21 Dec 2017 01:32:05 +0000 (09:32 +0800)
USB Ethernet gadget now works on Tegra30.

Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
drivers/usb/chipidea/ci_hdrc_tegra.c

index 7b65a10..7f4d2b6 100644 (file)
@@ -29,7 +29,7 @@ static const struct tegra_udc_soc_info tegra20_udc_soc_info = {
 };
 
 static const struct tegra_udc_soc_info tegra30_udc_soc_info = {
-       .flags = 0,
+       .flags = CI_HDRC_REQUIRES_ALIGNED_DMA,
 };
 
 static const struct tegra_udc_soc_info tegra114_udc_soc_info = {