From patchwork Mon Jun 25 07:58:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 10485207 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8A7C060230 for ; Mon, 25 Jun 2018 07:59:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7EF70287C8 for ; Mon, 25 Jun 2018 07:59:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 70454288E8; Mon, 25 Jun 2018 07:59:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1CB75287C8 for ; Mon, 25 Jun 2018 07:59:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752149AbeFYH7O (ORCPT ); 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-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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[] = {