Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp3596550imm; Mon, 25 Jun 2018 01:01:23 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIlERGvzFlo/zM/CGFEzisrq7EIWFIq82e5YojmQ32hsWwcp86gvpZXSvPLgelkBn9dOksz X-Received: by 2002:a63:a702:: with SMTP id d2-v6mr10044412pgf.246.1529913682913; Mon, 25 Jun 2018 01:01:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529913682; cv=none; d=google.com; s=arc-20160816; b=scnZXGLi+dMvZNAP3CdEdo6xWHeAYt7cQyXHQNicPUkbGCDqQW4ntMZsIz8LMWi7Vk d85ij5uJ97rGvQXJ+N63I3dUHXkQv5yY9ktWbNTKwd6uQbHK1OgRrQitHEwHNFc4Uugu 9uaTrBgt0p2C5CAwUMrPt4O4e8WlOEe55hMdyPFmlRK72VnjNp8+I8ZsKDgjuvNsce0i WrQV7OibxKCXOuuxzpB4kosF8MG6qYfLfYNt63LG+mWc+ixLZYyi0meYquZTgW59e7bu qLW4XjCLgqfDZ7cHCYRnt/4S9rL2/nN8gSxUTf8EqKuytwUD+7QCotzXVLpyKG7fUDKj TDJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=Vjm3X9jQW1o5KFEtlfAAuTR4KZet1jW72KFI0LOfXHs=; b=XmCmQ/9ZTExfvBEkA+OWGDUiiCzkuNXflmkIhipvJLy7nCyzfz2ZDqm9eaYJHJrizF 7shfw+HCKrELSAjyXfTopnMGUjmBz4FNN4pZef3cTw9nYMjMITrPjr0wh6u3FqgM/lzg Fr0iNJlob4nzYi66yjiFCpKcnlQgBHsVEt0cE/BvtlhaMsiqeUdevc9YIIWEuw1Yk67f TSyhws6I6gl3gNouANhBNK5WvHeSV+wjWgj78WZ5nMbtnmOlzvyLCgUbnkXq5Cfp12QG YbGM13Ed46+CAjGTAT51fmgoAbZc9QDOZz8uOicOQDFnTSzsHDsHQznNf5uHqWejSqQd tMWA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u6-v6si13478813pld.74.2018.06.25.01.01.08; Mon, 25 Jun 2018 01:01:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752280AbeFYH7O (ORCPT + 99 others); Mon, 25 Jun 2018 03:59:14 -0400 Received: from mout.perfora.net ([74.208.4.197]:51381 "EHLO mout.perfora.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750994AbeFYH7M (ORCPT ); Mon, 25 Jun 2018 03:59:12 -0400 Received: from localhost.localdomain.toradex.int ([46.140.72.82]) by mrelay.perfora.net (mreueus003 [74.208.5.2]) with ESMTPA (Nemesis) id 0LrtKS-1gJ7PS15Bu-013bNu; Mon, 25 Jun 2018 09:58:56 +0200 From: Marcel Ziswiler To: linux-tegra@vger.kernel.org, linux-usb@vger.kernel.org Cc: Peter Chen , Marcel Ziswiler , Marcel Ziswiler , Thierry Reding , Jonathan Hunter , linux-kernel@vger.kernel.org, Greg Kroah-Hartman Subject: [PATCH] usb: chipidea: tegra: Use aligned DMA on Tegra114/124 Date: Mon, 25 Jun 2018 09:58:43 +0200 Message-Id: <20180625075843.31878-1-marcel@ziswiler.com> X-Mailer: git-send-email 2.14.4 X-Provags-ID: V03:K1:Qt4nMLDtXx0afGkPpsgzHre3KQOrnOGqIoHyU+7HEsBP2JiiOun 3qTZYq1Opl9MyCUnTJAFFo4B7/BaZ8gtuCKBxM7S/YlTHygB2ZFwUrk45s+XIqU9nfuylME LC89fv1vxImWHx4MxvbMryBUm2+20RSaTiucv08t2QxaxFm/rg+DVmak/kXen0werTI2mxm Obs2Tflcb3vSQCsvUuuDg== X-UI-Out-Filterresults: notjunk:1;V01:K0:DUVUh84gFqI=:qmPL3GzTGEXU97pk0jquPt 8unzZ+yGp3tnELMtYuINzqNHyw8dkkUIYK4388fwKwH98cRJzsgfisCbXIffAgWHU/caoKOnp /hH5a61xrAE+wyA8U9koqUB8FpxlzrWY92FK4y/nChh5EeS1VWShmKcPZuJt/1uVSrxqOEuE8 41jc5BwrH5YJ68Yy10JWspeiCiZpRYZ2zio26wxey1I/x5VGaGcXKv8IgDNxIH5iYOKufCI6Y weWBWCeQ+w1FuL4fBD6p2sIcNlh6y23RE6ub1+8Edy4uMTvb0IG1lk7gFjGb8rkoLjKYTYOPA /3M7WWv9c4f6OimktM6ELXF3Vj6oTOLhbIQz1g0Khl7IlHeSvdikqOGON73lRnYyB7msv8YoW J5K2u/Q9h8d5lj3t97t8wq0rdEeO+4VxB7l8RDjab15cyMQssFaPrivD+WAXW9TddtxPFpO4b li3UY9/6rvhnbeoi4KNKjgG+Flvt8mTxyoFiL50aIQaMwETVv0AkQcehl0DJ67rLaHkaPV1tF tKbzbYd1TTZpOy1RNKZvY8JiKlIhlkXCuOZa6wxcKetdHxCywf8u3Wk1KyXUdpLV5lN03qFxO ZfXRHCvrjvmVhjb2cDu//bMEIgo3m0MmGJzFtIlmnQep0Vc9gOCdnxv+BNqgqMXgdIvkOWtwl B9xFNR+srM+2dnOPiXlIsiRrb06+q+4QqgaexizqEQAjQFySeY6emgEmRhzdUvkUiqZk= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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