[v1] usb: chipidea: tegra: Use aligned DMA on Tegra30

Message ID c574aabe51fa67e9a4bb9dc959c64ec6dcb232f1.1513651763.git.digetx@gmail.com
State Accepted
Headers show
Series
  • [v1] usb: chipidea: tegra: Use aligned DMA on Tegra30
Related show

Commit Message

Dmitry Osipenko Dec. 19, 2017, 2:58 a.m.
USB Ethernet gadget now works on Tegra30.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
---
 drivers/usb/chipidea/ci_hdrc_tegra.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Thierry Reding Dec. 20, 2017, 6:59 p.m. | #1
On Tue, Dec 19, 2017 at 05:58:07AM +0300, Dmitry Osipenko wrote:
> USB Ethernet gadget now works on Tegra30.
> 
> Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
> ---
>  drivers/usb/chipidea/ci_hdrc_tegra.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Acked-by: Thierry Reding <treding@nvidia.com>
Peter Chen Dec. 21, 2017, 1:43 a.m. | #2
> On Tue, Dec 19, 2017 at 05:58:07AM +0300, Dmitry Osipenko wrote:
> > USB Ethernet gadget now works on Tegra30.
> >
> > Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
> > ---
> >  drivers/usb/chipidea/ci_hdrc_tegra.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> Acked-by: Thierry Reding <treding@nvidia.com>

Applied, thanks.

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

Patch

diff --git a/drivers/usb/chipidea/ci_hdrc_tegra.c b/drivers/usb/chipidea/ci_hdrc_tegra.c
index 7b65a1040d2c..7f4d2b6af37a 100644
--- a/drivers/usb/chipidea/ci_hdrc_tegra.c
+++ b/drivers/usb/chipidea/ci_hdrc_tegra.c
@@ -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 = {