diff mbox

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

Message ID 20180625075843.31878-1-marcel@ziswiler.com (mailing list archive)
State New, archived
Headers show

Commit Message

Marcel Ziswiler June 25, 2018, 7:58 a.m. UTC
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>

---

 drivers/usb/chipidea/ci_hdrc_tegra.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Peter Chen June 26, 2018, 2:22 a.m. UTC | #1
> 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[] = {
> --

Applied, thanks.

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

Patch

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