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 0318AC433EF for ; Tue, 30 Nov 2021 09:29:41 +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=iCTOP4BW0Z9qg0XM+uAMWBJsO7aX809iOHodtrdzJho=; b=NH0urfStvrf3ItzuFsalx/n0o7 4MWDHnA9cB95sFwPLzXzsQzKCeLzjlRMVsHrj4FrH8t3k/8CdrUy5eyq2EH06yQN9Xsfb38cDg8sp O23DLH+bGWIrmKtVQOB9gr/mqDHBYivaqi5bQHqpNPogOxll2BLsZtDPGNY+ktoel9QT3sUgJl6xd eRJwOm8APkJWe7CCazkrKWsV0mKVCMrLvPNHORGuIGsCVDVkFx213ebC84o1XgD6ZtsU9bOuTHaz/ 3Vq/aW0pENoV09cvhyPTMmpNmF5C4C2+NfErCTCCoVGOpyD3wtBRkgMScPT8cnH+FUa31/LP35+Sp MkypHr0g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mrzQy-004K5l-B6; Tue, 30 Nov 2021 09:28:20 +0000 Received: from ams.source.kernel.org ([2604:1380:4601:e00::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mrzQg-004Jzw-8k for linux-arm-kernel@lists.infradead.org; Tue, 30 Nov 2021 09:28:03 +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 04482B817CB; Tue, 30 Nov 2021 09:28:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0DD1FC53FC1; Tue, 30 Nov 2021 09:27:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1638264479; bh=FBNdYA1ekU53UM+Z0zPdQkztZh3+oVIjQExU995I4U0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=F/+xvE5e3mwgPcAj7zf6VIhC3JBjW1Rq5+6VSxyemD685G7UunQA2xXm1zgadMEi0 Nb4/qRNPawnQ9EqxPSumxqwHjJprQorFW0IX9uD3loea6ch5ZFMii2X4f26e+VuZki d1CGi8QZ3bM71zmcuxGgGI2aPS3FK62/upnUqva4Jp8sAxCCUr7QLqIVDXIaBP58aQ 0EZepIsiq4W2ap4iCLodE75n4CzwaEVObVOhf7vlk+TZxvGt5ZfjenmQmHT1kwr/jv 7iZdTyoE+uA5wedcwDswxEzC/jY16Bmotg35WM1lVhAlN13pf7fp5Iw++DhJWlsoEw ln9OChBaqs10w== Date: Tue, 30 Nov 2021 10:27:56 +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 3/4] i2c: stm32f7: stop dma transfer in case of NACK 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-4-git-send-email-alain.volmat@foss.st.com> MIME-Version: 1.0 In-Reply-To: <1632151292-18503-4-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_012802_477365_78B838BC X-CRM114-Status: GOOD ( 13.30 ) 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="===============1066467075452325919==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============1066467075452325919== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="TzOmG6v0i68yd2Fg" Content-Disposition: inline --TzOmG6v0i68yd2Fg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 20, 2021 at 05:21:31PM +0200, Alain Volmat wrote: > In case of receiving a NACK, the dma transfer should be stopped > to avoid feeding data into the FIFO. > Also ensure to properly return the proper error code and avoid > waiting for the end of the dma completion in case of > error happening during the transmission. >=20 > Fixes: 7ecc8cfde553 ("i2c: i2c-stm32f7: Add DMA support") >=20 > Signed-off-by: Alain Volmat Applied to for-current, thanks! --TzOmG6v0i68yd2Fg Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAmGl7pwACgkQFA3kzBSg KbY/FQ//WnDVD0iswoT8WYcu/TTCEfsHGhSi5ELnU4DlZrmAPo6qxC8HE+62tdrh g1GmaKJofEStWIpbNL/weh6siMp/01jHrA4H9Vws5NpG6W8/U5MF5XZNVbh1hBx1 wtUOI3NperjifGXhAUjJH9O4W0zPo3oCFqcq8MUBLZHQywYRCNnJZPwVrZAFcW/5 PgO46Jj6MHIfkt0V3tAvaI0heXLZbMa03ywQ/LmqxJ48+3rNGYidwKuqFiPdmfPG JZ3AZDgfcRT5nAWvaORc5V7eqj/X6oBEBiLGLocGXexo7jg4LQAFwqYYA2o0Jtvq s0NAsa9GjIV6BMo5Al1fVsN2u1RNzt1uPrxPbuG+oNk4h/cKcj+aqk8X7BN0EKfj cOLiyJOAkNi/fSrIIfOTE7ZLGgROOTZxy+imEdJQT/L2b23iX4Eg7yX7/4+C8nwI Ge9xtyEqOfL9VTn6P8vkkMjRDp/b8OTjT+4XinKuNJUh3gp1UIQk6Zc0ZKmurfNc qBx1rWQqorTNGFFR7shHoJpXFWTUriEjKHlLVLqqYTruH/q5FV+WKGUNo17VoPRL MPcRpPYFIzCw5WOJoYIVFG8KD6PIATfJNmgO59zdtcwyunq6GTozl7U0/OT/FThe S/dB+z9qWmlcRr9c5NsQ5MGv6WScQAQMUDJx0KoAxjJGM+PpY50= =43U7 -----END PGP SIGNATURE----- --TzOmG6v0i68yd2Fg-- --===============1066467075452325919== 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 --===============1066467075452325919==--