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 28374C61DA4 for ; Fri, 3 Feb 2023 16:37:26 +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=zjWSD2KqDr0GQJKOZVMEq0u120ii1R1HNKX7P+koc4c=; b=2410HFGGDG6pdQPXbyXyLtd1ok 2lZwl5/U7+1EbVrejWuI0qT85ka/reQAaj1rFSUwJlWwmgOLtJ/gx7XvgV/ElmtaINPASsQ+qG5WP u9K7giEp11buriurogD2PTbEGTW5KkEu+Ao4I1hnXhuE0Aeh6LmseMM5Qx7WLO72rJqeqZEhnno+b 8d0ZnNUtTTLk3ivgnMRUkXYUAKO1KT6CJ2qBuMRfySWETdbaFb+zcSJXUhMZdzNUVbRZcWgxN99YK NOCAKDRHCMzlllvDC//zBZ1aY3LgzQrxZvITgu2jN/BtyzuO+yey3hisabT2GWbPZcz4JVdGgxkch sCBWZl/g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pNz2f-002wqj-9S; Fri, 03 Feb 2023 16:36:01 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pNz2V-002wmn-MK for linux-arm-kernel@lists.infradead.org; Fri, 03 Feb 2023 16:35:53 +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 dfw.source.kernel.org (Postfix) with ESMTPS id EE0B761F6F; Fri, 3 Feb 2023 16:35:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E4FC7C433D2; Fri, 3 Feb 2023 16:35:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1675442150; bh=1SaYB0bF1JaTvvvfx4hwIoT1gSdhOhVOUjcAnW9ZiEc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=GXHv4SapiOroCtFw7BOFlKzKjMwK2S2SWMpKsmLbWa5FWoTHyiBDsSCzhJecto1IC SHnPt+Ept602QXjWLtOmUcZvh/duCsDX4xwYLKu41/560AXd1Iy6QSXd3/BGF7TOwJ wK1Gsqogm9WHbF3FuBHRpbvDv2DKGctlx7Uj/QsjR5PDrlH07EsYySsjNTOQyDYvxW Wbr+1HVoiM0eMbVetm+0dyu6wL4ziP2d3mZypkqRWib0dlct5FFv/hRQ1rbHxbbP4M 6hXILGpYEoHW3qBSgLAD7jh6Y0uJ0qTuHlJtjLEw6gzBMN0ZRurt94gv8328XEPC5A TtuJ50m8aJELg== Date: Fri, 3 Feb 2023 17:35:47 +0100 From: Wolfram Sang To: Manikanta Guntupalli Cc: michal.simek@xilinx.com, michal.simek@amd.com, devicetree@vger.kernel.org, andrew@lunn.ch, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, git@amd.com, srinivas.goud@amd.com, shubhrajyoti.datta@amd.com, manion05gk@gmail.com, Raviteja Narayanam Subject: Re: [PATCH V4 4/9] i2c: xiic: Add wait for FIFO empty in send_tx Message-ID: Mail-Followup-To: Wolfram Sang , Manikanta Guntupalli , michal.simek@xilinx.com, michal.simek@amd.com, devicetree@vger.kernel.org, andrew@lunn.ch, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, git@amd.com, srinivas.goud@amd.com, shubhrajyoti.datta@amd.com, manion05gk@gmail.com, Raviteja Narayanam References: <1675330898-563-1-git-send-email-manikanta.guntupalli@amd.com> <1675330898-563-5-git-send-email-manikanta.guntupalli@amd.com> MIME-Version: 1.0 In-Reply-To: <1675330898-563-5-git-send-email-manikanta.guntupalli@amd.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230203_083551_835625_EDAF6351 X-CRM114-Status: GOOD ( 12.72 ) 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="===============3985669322228262863==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============3985669322228262863== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="pAsRdv62yj1l9JQI" Content-Disposition: inline --pAsRdv62yj1l9JQI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 02, 2023 at 03:11:33PM +0530, Manikanta Guntupalli wrote: > From: Raviteja Narayanam >=20 > If the tx_half_empty interrupt comes first instead of tx_empty, > STOP bit is generated even before all the bytes are transmitted > out on the bus. > STOP bit should be sent only after all the bytes in the FIFO are > transmitted out of the FIFO. So wait until FIFO is empty before sending > the STOP bit. >=20 > Signed-off-by: Raviteja Narayanam > Signed-off-by: Manikanta Guntupalli > Acked-by: Michal Simek Applied to for-next, thanks! --pAsRdv62yj1l9JQI Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAmPdN+MACgkQFA3kzBSg KbYFRxAArxOL34lU5Ic30/HXV4AsFAxSpnwqr3FlKjW6eQpkVo+kYhMpalfQ94w1 YZvBk5JQUSTaFRjza1sE8lQVnFiTQEhuH4pW4PgdOZ48TXE9DQy4PoTtzMmISMf9 URwkYwk9Ls2tJCyM9kjKQdA+uNDMq07MYuPpFUpY7/fE1t8D9uA4jNdXGndaje3Y CLdxOkPHHdu28PsjAEr3EdDho2CB0LUD1rqc4Hfn5aulkzxcMdddqaHNaVzeP3Kb PkyrrZn/gMSuZZzTr4rATUz9bRBgTuRC5+tEc5VARR0ftZuw2WbmSGZ2xdmNxvI8 6v9Gr9ta3MgCbh/NuxMVCCyTPqycwjiVTGNhOcXt+2gttdp7i/5DUn98cnHsLd5H dqKqY8tPUNE23hKGGfsMgVE+CNQVv/kEF2e5LGXg9ilIUONZ+dPZsRiHYCdJZ9VJ 4uMCUZ3o8YpEimZxjSCksVjpSBcgMqrVclbEjaAletPDs0sc1qkoZH9Bv+ABt7hx VIEthHXYhY8P7IgAZ97mpRx5KOI27VRed7wAeitU/3enJ9g+YxCCEn7Ui1y7EYP+ nunMAjXol07vqkX2sej1DeXkDnYg8O0eFE1MZX8d6p/+5ybkr9XQN1OnE6SnBVrE MoT6Cu49rJiIWp/qy254mYOD7YScGLNEMYTqIx/7mUAaJIHePQ0= =ejvd -----END PGP SIGNATURE----- --pAsRdv62yj1l9JQI-- --===============3985669322228262863== 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 --===============3985669322228262863==--