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 EB713C54788 for ; Wed, 21 Feb 2024 22:55:17 +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=nWg4Dq0WcgpXwvOadkSsClD4wXAWdBj4rozHZJTHbws=; b=2j6ucMMctRuqxh8ND/UJ/c9H82 U5gYUJ4iZQQSAws3jGC+KlmwPLTvI7enB7f6oa9BXIMF84bUnuUJCSLOvuYZvkTbFdpJVGMXareTI p2+UVpO9JJQldwaG9KoxV4/aiqPmTiWzoKxX+QSYlLB2FzV0xi1ohOBgJ3/ewV8jbocHX2/wdT8so TqHRmBJO2TYEqxJTPRPnegxeA11FheAvy/XyL6HXIZGvaW6eWVze1BMYFqat2TxWURSapIh/BFz3D cG3L5aMSDtckXfwWbQwOPTqeuY8Qdoxjte/pIvkC5RQ3kBTjeebYf4NsuUbU3RaJoB+Sed98JHkNF t5RNiO2g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rcvUW-00000002px2-463l; Wed, 21 Feb 2024 22:55:04 +0000 Received: from www.zeus03.de ([194.117.254.33] helo=mail.zeus03.de) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rcvUT-00000002pvv-2z02 for linux-arm-kernel@lists.infradead.org; Wed, 21 Feb 2024 22:55:04 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= sang-engineering.com; h=date:from:to:cc:subject:message-id :references:mime-version:content-type:in-reply-to; s=k1; bh=pcbU RWzdWl827aoKY3Vk/lQA+oXSGfG6yAhkFdHlVnI=; b=R3dNp+IsGrfldwpg8zov udigOEzC0v1rv/ZerDAc/1dZTZ2rs5R8rBb2Q3APsfzeY92yicYUpa9P43vB5h5v ez533lHhPkHH/hAk1qa3SF5ZKpX5qIHX4NdQVLo8uh6RAsf5UhSK6po0vEpFuznA VfEdO1iMsCOXGgwuXoNnp7cgEA4plhw5EMB2DWeX7us0yK8EfrDlGijAArkByNpd k+aNfiNtrp2+npnYm+189jpHmd1jXVyC0VbkrZ1/eWsZAw1gnCXVyfUwS7fRf6zM JHbEHx6nAJ6sv/4ydmvUuCKJ4ZVy/9f+NwVjYUQVLflTIInOMNFL4EH964gp1nMR oQ== Received: (qmail 3765339 invoked from network); 21 Feb 2024 23:54:55 +0100 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 21 Feb 2024 23:54:55 +0100 X-UD-Smtp-Session: l3s3148p1@/zQgN+wRRJcujnsZ Date: Wed, 21 Feb 2024 23:54:54 +0100 From: Wolfram Sang To: Andi Shyti Cc: linux-i2c@vger.kernel.org, Corey Minyard , Andrew Manley , Oleksij Rempel , Pengutronix Kernel Team , Shawn Guo , Sascha Hauer , Fabio Estevam , NXP Linux Team , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3] i2c: imx: when being a target, mark the last read as processed Message-ID: Mail-Followup-To: Wolfram Sang , Andi Shyti , linux-i2c@vger.kernel.org, Corey Minyard , Andrew Manley , Oleksij Rempel , Pengutronix Kernel Team , Shawn Guo , Sascha Hauer , Fabio Estevam , NXP Linux Team , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20240221193013.14233-2-wsa+renesas@sang-engineering.com> MIME-Version: 1.0 In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240221_145502_662262_A6327DC9 X-CRM114-Status: GOOD ( 15.07 ) 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="===============3544792461334845263==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============3544792461334845263== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="wMLlim1uQUSFzSBp" Content-Disposition: inline --wMLlim1uQUSFzSBp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 21, 2024 at 09:58:23PM +0100, Andi Shyti wrote: > Hi Wolfram and Corey, >=20 > On Wed, Feb 21, 2024 at 08:27:13PM +0100, Wolfram Sang wrote: > > From: Corey Minyard > >=20 > > When being a target, NAK from the controller means that all bytes have > > been transferred. So, the last byte needs also to be marked as > > 'processed'. Otherwise index registers of backends may not increase. > >=20 > > Signed-off-by: Corey Minyard > > Tested-by: Andrew Manley > > Reviewed-by: Andrew Manley > > Reviewed-by: Oleksij Rempel > > [wsa: fixed comment and commit message to properly describe the case] > > Signed-off-by: Wolfram Sang >=20 > is this a fix? In deed, it is: Fixes: f7414cd6923f ("i2c: imx: support slave mode for imx I2C driver") --wMLlim1uQUSFzSBp Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAmXWfzoACgkQFA3kzBSg KbagAxAAn45Po3ZAJlfnoswOKe4rzonqmkLsAxS1Y5qgSdTMQyanU9l5JjsmyaPT xg/t4ZAzx2vwlGMUwQ9pC3Z3Il6LhHPmq598jn/3Vmj+A343ahRyLhWWHh5VP2qu iArpIvb98BUeaMdHKKew6Qh319lXMxRgpL1aMDJvWWEMMKJantsrTFywcp3N6WYQ R6QYENuvtChkG1MIAkiuDozlKbhxb3SzcXBsezMTuEHfOcCEsItnXdiwpo+FJ0pJ xhMw4d6G2I4Qq1xNNPGtmB5a0Xab0QWUKZ8xe0geV3lhWGVqRi+LX/R9CfEy6ge4 rk4nWiP4t8RQG/+S0nGBo/40zeTx8Bz6KYddR8HLFORH0sRzM07LbXrJMiEWvjjJ tx6a1MwWLJ8DE+Wa2UMRVQOrmJLXTr4rb/ONH4G3IKmSUeYD3qxZEnIp0MebIY4X J4j6DyRFS7sum6O3IouXiayOL7NSSITX1lt0+zLeVw2dh6aAx+PvrnCY46SKIl+s Ai/enUt4CZOt/8QWn5VyNhHBfo1hJIWLh91KQqhZ79k6/XEFj1g3TvnV91eGTqQU PFdPipawhcNqBnoZOB+DGPlqzUuiXwJuLgCaWCUtsec1Prm0sIQZ0mqyT6r/7W1B BsH8NWzA0G7I7wPCVmT3/QvWsBVeasc9Jn5X753nqQIh/Oq3p2U= =w2Tg -----END PGP SIGNATURE----- --wMLlim1uQUSFzSBp-- --===============3544792461334845263== 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 --===============3544792461334845263==--