diff options
author | Marcel Ziswiler <marcel@ziswiler.com> | 2018-06-25 09:58:43 +0200 |
---|---|---|
committer | Peter Chen <peter.chen@nxp.com> | 2018-06-26 10:15:31 +0800 |
commit | ba0ab35a81de1da15e1691142834eefd34e34a0e (patch) | |
tree | 00821c9bb47956432eb4886a6c4ec485266d4013 /drivers/usb | |
parent | dc748b66dbfbbfa187044f007d42d9cc01e5ab11 (diff) | |
download | talos-obmc-linux-ba0ab35a81de1da15e1691142834eefd34e34a0e.tar.gz talos-obmc-linux-ba0ab35a81de1da15e1691142834eefd34e34a0e.zip |
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>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/chipidea/ci_hdrc_tegra.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/chipidea/ci_hdrc_tegra.c b/drivers/usb/chipidea/ci_hdrc_tegra.c index 7f4d2b6af37a..772851bee99b 100644 --- a/drivers/usb/chipidea/ci_hdrc_tegra.c +++ b/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[] = { |