From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D0966C433EF for ; Tue, 30 Nov 2021 09:30:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=kYkwFHjkPOMpdlpqrXL05nuj9nsL5WKa3vNulmXAbUU=; b=4WyUhVqQds1MqYsn21tvKzhpb4 YNXmGEA0klPvtkFiPeGgZokltSulY/YYuPHL7gIpyeuwghRiBOI/+g0oa6Fq2yYNht/hSVUJUGKU/ ZAgFZMa5ZMK6UJmBnN3XQqiWxKFpdJZ0ZnuuDpEGnMjJnIDOinum56B74rqHFLeNydTL/ZjLvjsuX 1nQHzrBo+l7olNqYVQonw41PVYwYmjI3g+lk5YSE4uX6prc/lxgzQ0T3XdzdIMQn6GxUlNLwYkfuv wKIA/z9hi6M1kMc7k1+w7EWq6q01PC7OfTqv7PaAZ9gErFsQnKaro+plsiUXgtJoujP8o9niZFtIR ffJ8ATYQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mrzRG-004KD3-9T; Tue, 30 Nov 2021 09:28:38 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mrzQo-004K2f-Uq for linux-arm-kernel@lists.infradead.org; Tue, 30 Nov 2021 09:28:12 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id AB65DB817F6; Tue, 30 Nov 2021 09:28:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B3D2BC53FC1; Tue, 30 Nov 2021 09:28:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1638264487; bh=TgTB+HvwgE1K6uTIqH5Mm8brLfCpRDbgZBQvLIL6PNs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=MabxmVv7aCXsEKQFvEeVFu97DbMxV/cvLNON0JOyB10fQ2cSbY1H5b97NOouaVYrJ 5e7mDIWn/sh7BskppfifvCT0mM2B/hRW8cbCoyfM2dW0VyQQdO4ZfUsfAdxLRfkloQ YMGnelqkifHMhiKAmDw807yLfEAy5lxOpEdyuUUmmy/YSEjI2NH7MQEZaGeDTE8Rvs P7hjLSfnYdbz+Bhwr0OpsR1BzOu5QR1h8ogwlXzW7kVugNvFxwbvqwkAI6GlQsmXbw 87w+uQTOBEng266LTV5B+4et2tzlsN4w03iuGWe+pZVUgV/JLpzp24IhoMLoBfF2C9 V8BsBD+3Pf4xQ== Date: Tue, 30 Nov 2021 10:28:04 +0100 From: Wolfram Sang To: Alain Volmat Cc: pierre-yves.mordret@foss.st.com, alexandre.torgue@foss.st.com, linux-i2c@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, fabrice.gasnier@foss.st.com, amelie.delaunay@foss.st.com Subject: Re: [PATCH 4/4] i2c: stm32f7: use proper DMAENGINE API for termination Message-ID: Mail-Followup-To: Wolfram Sang , Alain Volmat , pierre-yves.mordret@foss.st.com, alexandre.torgue@foss.st.com, linux-i2c@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, fabrice.gasnier@foss.st.com, amelie.delaunay@foss.st.com References: <1632151292-18503-1-git-send-email-alain.volmat@foss.st.com> <1632151292-18503-5-git-send-email-alain.volmat@foss.st.com> MIME-Version: 1.0 In-Reply-To: <1632151292-18503-5-git-send-email-alain.volmat@foss.st.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211130_012811_166130_CDA04F42 X-CRM114-Status: GOOD ( 12.98 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============6098970215392838981==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============6098970215392838981== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="9BKR1twofcV34c05" Content-Disposition: inline --9BKR1twofcV34c05 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 20, 2021 at 05:21:32PM +0200, Alain Volmat wrote: > dmaengine_terminate_all() is deprecated in favor of explicitly saying if > it should be sync or async. Here, we use dmaengine_terminate_sync in > i2c_xfer and i2c_smbus_xfer handlers and rely on > dmaengine_terminate_async within interrupt handlers > (transmission error cases). > dmaengine_synchronize is added within i2c_xfer and i2c_smbus_xfer handler > to finalize terminate started in interrupt handlers. >=20 > Signed-off-by: Alain Volmat Applied to for-current, thanks! --9BKR1twofcV34c05 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAmGl7qQACgkQFA3kzBSg Kba9bxAAnolHWrz96xTiK4AAyN69kypXX4qth+xsvFARDQpkOIv02CFxNE877QgF 8RsfYdvGMPb7fvB5gBebN8o15gETECfW6YCNRI++V6GtO2XqbjcDFv5dfP/X7Gmf WTM2uh3efg2yMq9C6gVDPWStys1ZumDxZadMPSN1I78N0On3ySkLepBZWDHgi2jh LA5PnsyCCosTF9a7zWTet+sWzsxFxcnwb83QAnv8B27BXUeH+9Z0KWaS7HYV8kP/ vyPZ5KhkqDwLn/xELfJEjvPcVnOX3BWUEo7QoI1RkrRFhjdf8cooRvgqKfnJ9de+ +xwpNgeEW948YKQcapM4m6p+/CsUWwBW5eXmzh5rkSF5ZfFk/skj2DZR77Xo288w F0/Ar1BqbVDai6jSuKgigSoPhLajIY8W0tw2U6EzB3E/gINtUZ/GwMtI7S8Iucbc VE4Bmirx16B5cr9ki9lhFJa1Pg5qUYNBS/tIlqHcGiXFUf+iE/Qq0KfPjNQZ59xP nN1oTeWHGHdHq/Jx4vs9PA/opRKt1eSgvHs5vV/bYPcWxjb5WhibzDx96KPGCOwo dduUZxp5lcbBgTMPc8ihXV/YjVR2olHOIM5KwKa9EGE6aiNnyAdH7ZcQ6ZIhEFuu LVvmvvCjmSr3Xhz8zTRddi+Z6MtqiVnSSWUFEI4oBm/p1+mjMbQ= =ZOXV -----END PGP SIGNATURE----- --9BKR1twofcV34c05-- --===============6098970215392838981== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============6098970215392838981==--