Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp410080ima; Fri, 1 Feb 2019 05:20:23 -0800 (PST) X-Google-Smtp-Source: ALg8bN5G3snCVyNE1VnkXcfj3N8QuiqCTcVVvx9oQOzeSWk+pJ6ZQTOWdapQk4vrBkYFw011lMic X-Received: by 2002:a17:902:66e6:: with SMTP id e93mr38509047plk.92.1549027223400; Fri, 01 Feb 2019 05:20:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549027223; cv=none; d=google.com; s=arc-20160816; b=Ef+BGkzai43YSzg+0Kz6IsQQ8Ff4lvurbkfMuqsvqBrqu9nmlCPs5H6FaKzZEBHZx2 zePkL+BIOIW+1iYfSUQiAEzDLYVgvpe7ELRAn6W7ADG3vQECrBRq6K8uStSqpT+pTiFw 3mTXGl9mJYBKZBussW5UVcHycXjJrCLOq4mAKkKHN6mo+Zp4ZQ9QPbW/Aol3+VOhtMIu v/Oc5Ga5LbI46QonNkUqYMz+vjDWWaW+P4sZzqsrOgGyqQzioWb90EOGp3n8MtNrQhlk yOuR3Ioy6rOv9yyx1BFmd7f9vBZ9dtpdN/92qyO0ndMK8GWmoLu6+FbNjIR3f3TrVZtp V6AQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from; bh=8sAfzj8BhS2a8sDTCPn44fBUrM2EDm0vn3labdeLD1I=; b=0GzfJHGCbIOmSgLQqhaZ9hxz0xXKc6xOaCugMWfDnskPkfZNbkWxdhmnhphkUrxQE6 olUu2id0Zsv9/3BcLD99W7Hqrqu6zJAxvJCFN3k3/4vQ83QUdbJhNOi8ZhT7Z+MupxKJ hAqYoEp3qW27YGAfBTgU6yhci7mUrraEuh3PCYwwsQou4wynINRCY3ZfHcLvHiDFtMcV 2v183h5Q/XmBf+W4hI3K4osmjicRZBElK+SXV3C9js57MrEhzL79HQOtg06GAU+/Owav GEvFDkMuDyq4XYvwEs2FE8xoqgMOVsbrImfLYjUDMGNnpbP7LhWZ2pmXWuJ0XJ/wq+vd +WUw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j135si7065002pgc.517.2019.02.01.05.20.06; Fri, 01 Feb 2019 05:20:23 -0800 (PST) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728405AbfBANT7 (ORCPT + 99 others); Fri, 1 Feb 2019 08:19:59 -0500 Received: from mga11.intel.com ([192.55.52.93]:1931 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726460AbfBANT6 (ORCPT ); Fri, 1 Feb 2019 08:19:58 -0500 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 Feb 2019 05:19:57 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,548,1539673200"; d="asc'?scan'208";a="135055770" Received: from pipin.fi.intel.com (HELO localhost) ([10.237.72.175]) by orsmga001.jf.intel.com with ESMTP; 01 Feb 2019 05:19:53 -0800 From: Felipe Balbi To: Christoph Hellwig , John Crispin , Vinod Koul , Dmitry Tarnyagin , Nicolas Ferre , Sudip Mukherjee , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, dmaengine@vger.kernel.org, netdev@vger.kernel.org, linux-usb@vger.kernel.org, linux-fbdev@vger.kernel.org, alsa-devel@alsa-project.org Cc: iommu@lists.linux-foundation.org Subject: Re: [PATCH 12/18] fotg210-udc: remove a bogus dma_sync_single_for_device call In-Reply-To: <20190201084801.10983-13-hch@lst.de> References: <20190201084801.10983-1-hch@lst.de> <20190201084801.10983-13-hch@lst.de> Date: Fri, 01 Feb 2019 15:19:41 +0200 Message-ID: <87d0obodci.fsf@linux.intel.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Christoph Hellwig writes: > dma_map_single already transfers ownership to the device. > > Signed-off-by: Christoph Hellwig Do you want me to take the USB bits or will you take the entire series? In case you're taking the entire series: Acked-by: Felipe Balbi > --- > drivers/usb/gadget/udc/fotg210-udc.c | 4 ---- > 1 file changed, 4 deletions(-) > > diff --git a/drivers/usb/gadget/udc/fotg210-udc.c b/drivers/usb/gadget/ud= c/fotg210-udc.c > index bc6abaea907d..fe9cf415f2f1 100644 > --- a/drivers/usb/gadget/udc/fotg210-udc.c > +++ b/drivers/usb/gadget/udc/fotg210-udc.c > @@ -356,10 +356,6 @@ static void fotg210_start_dma(struct fotg210_ep *ep, > return; > } >=20=20 > - dma_sync_single_for_device(NULL, d, length, > - ep->dir_in ? DMA_TO_DEVICE : > - DMA_FROM_DEVICE); > - > fotg210_enable_dma(ep, d, length); >=20=20 > /* check if dma is done */ > --=20 > 2.20.1 > =2D-=20 balbi --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEElLzh7wn96CXwjh2IzL64meEamQYFAlxUR24ACgkQzL64meEa mQahHA//UqW4f00GsiqzttL+A0YT71T+D9qtJhSfF7M0knMpZzdyOqcirQVm3TRT tpK0gC37IQGcT8NcrX75EtASdv/SBDJKhi5H1bCOEc5H00YxYUvujAdut+D25tJi SzfffbgIDcmkdit869qdzHmH565AGYZY6RG0lPoIS+7o1EGlO4AMM7RfF0y84VmY 46M4Ch6WtjDVuFAEUhHdZi9Q4hXxT46Kz6gKyzB/aB5h1OGxeHpUl5HUkF0jZmts E6m3SZb/vUrfQINJ69erIJH4qqap0TbQ509i0M1cx9X1TYiI/ou4C8bSk/8895K0 Js67kpVD/OXAyTmf/nVl4rtkhuDugyfEC+2bGUohpICCVd9ubg85B/1Yi/qQafYs sOt7bISdGgLiiSAxw9FWtVlezCW/8xuyC4hn0knkoAd9iIOO1LhfdNvfz0PPaVeW JnmCbx6syBAwlaEFem/M4uxp0Lq02WggiTNtTTUJw78N/MAl3CzDyyvRF0K1VpIR eGT71Gcrge3Utw8G8Tm0rzlBJntsXh7PLD63ga6nwirPxtq3ScPh3yjjdODRjc62 T4dch1AT9BSKqqbFeQuMaeEV5ml3SJF3+DvIQ3LRz22lP65oSPHYvmdWHYOXW++W FGuEo7SIciykLAFxBDq4MjuIqn5uMMERmOqGGElHqdZsQE+0SVg= =byNX -----END PGP SIGNATURE----- --=-=-=--