linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] usb: chipidea: tegra: Use aligned DMA on Tegra114/124
@ 2018-06-25  7:58 Marcel Ziswiler
  2018-06-26  2:22 ` Peter Chen
  0 siblings, 1 reply; 2+ messages in thread
From: Marcel Ziswiler @ 2018-06-25  7:58 UTC (permalink / raw)
  To: linux-tegra, linux-usb
  Cc: Peter Chen, Marcel Ziswiler, Marcel Ziswiler, Thierry Reding,
	Jonathan Hunter, linux-kernel, Greg Kroah-Hartman

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(-)

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* RE: [PATCH] usb: chipidea: tegra: Use aligned DMA on Tegra114/124
  2018-06-25  7:58 [PATCH] usb: chipidea: tegra: Use aligned DMA on Tegra114/124 Marcel Ziswiler
@ 2018-06-26  2:22 ` Peter Chen
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Chen @ 2018-06-26  2:22 UTC (permalink / raw)
  To: Marcel Ziswiler, linux-tegra, linux-usb
  Cc: Marcel Ziswiler, Thierry Reding, Jonathan Hunter, linux-kernel,
	Greg Kroah-Hartman

 
> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-06-26  2:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-25  7:58 [PATCH] usb: chipidea: tegra: Use aligned DMA on Tegra114/124 Marcel Ziswiler
2018-06-26  2:22 ` Peter Chen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).