2017-12-19 02:58:53

by Dmitry Osipenko

[permalink] [raw]
Subject: [PATCH v1] usb: chipidea: tegra: Use aligned DMA on Tegra30

USB Ethernet gadget now works on Tegra30.

Signed-off-by: Dmitry Osipenko <[email protected]>
---
drivers/usb/chipidea/ci_hdrc_tegra.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

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 = {
--
2.15.1


2017-12-20 18:59:22

by Thierry Reding

[permalink] [raw]
Subject: Re: [PATCH v1] usb: chipidea: tegra: Use aligned DMA on Tegra30

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 <[email protected]>
> ---
> drivers/usb/chipidea/ci_hdrc_tegra.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Acked-by: Thierry Reding <[email protected]>


Attachments:
(No filename) (313.00 B)
signature.asc (833.00 B)
Download all attachments

2017-12-21 01:43:53

by Peter Chen

[permalink] [raw]
Subject: RE: [PATCH v1] usb: chipidea: tegra: Use aligned DMA on Tegra30


> 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 <[email protected]>
> > ---
> > drivers/usb/chipidea/ci_hdrc_tegra.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
>
> Acked-by: Thierry Reding <[email protected]>

Applied, thanks.

Peter