瀏覽代碼

usb: chipidea: tegra: Use aligned DMA on Tegra114/124

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 <marcel.ziswiler@toradex.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
Marcel Ziswiler 7 年之前
父節點
當前提交
ba0ab35a81
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      drivers/usb/chipidea/ci_hdrc_tegra.c

+ 2 - 2
drivers/usb/chipidea/ci_hdrc_tegra.c

@@ -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[] = {