Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1034599imm; Thu, 6 Sep 2018 14:15:27 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbhoZeoKtwUphPH5VNqRvvPbr/jT6BM22QVLx0hUDYrXAGcGqsCZOyF/L3BAOaARP72YsrR X-Received: by 2002:a17:902:900a:: with SMTP id a10-v6mr4674390plp.143.1536268527555; Thu, 06 Sep 2018 14:15:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536268527; cv=none; d=google.com; s=arc-20160816; b=NO+dN5lLkM8lVJY0z8SjOmJtLgaZWUwiFN5BXv0wgIKGOPIFuB17n8BquEPqiYyelo YAsorBjHP+dpJZIUrTzgtpZCQWarppUAdh6ugk0PLQhBtJe1dKxAt3nFfvmvDK+vRZN6 we64XTPlsbBlIUdJrhClcDjXIkhxnbtJqWjBkUefFFWdiJX7+Ep2H6FnaEwrH9D3TMte 1rHhNTQ+AWeJjftyVc99KJKC7O7k02/pMw0IMOHmKsJVwSwvPe2aXEHFPkymYfYXaVd5 I/2VszPVIpfkonvaXkQKwFrzrCLeVvjPQvjIpAimOgxLh9wX+i68xGgjKHXntbciObNz Ahww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=J3HLVTFVufoUw6dPmXnddRTgF+9rdRQrCwL0HGUyN1Y=; b=QFIpLH+Q8ERjYQGhjpzaAs3BdneJESUq2U1WD8ePl7n5quCHy4+nx9YtAsocJwnwrH a9BpflUmL735miVHENM8Rdho3b+Q5h5jI2pBGXCacMR1O3GPnnBSIPD53n20AnlySOGd IvsGASOjmlMrhQKOqe7glPAkR2QLiRJlBoe8EVfA76fjlNniCez1PYlVAcV3MQWM5pz9 NB62Mee0CUm3rMIkNwS/fSlA35eSegFPyfWI63gjpBj3iaHPhU3phOdrg90+03pHvJ4w HSUbVCSzH7VMBtr0MaTzop5qoZSr31LMBOG06ILX0F2nFKIIFikO8JUwxfWibGJNfd6n DFOg== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c17-v6si6122603pgm.15.2018.09.06.14.15.12; Thu, 06 Sep 2018 14:15:27 -0700 (PDT) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729434AbeIFX2w (ORCPT + 99 others); Thu, 6 Sep 2018 19:28:52 -0400 Received: from sauhun.de ([88.99.104.3]:48286 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726031AbeIFX2w (ORCPT ); Thu, 6 Sep 2018 19:28:52 -0400 Received: from localhost (i577A6E95.versanet.de [87.122.110.149]) by pokefinder.org (Postfix) with ESMTPSA id A3A612C058F; Thu, 6 Sep 2018 20:52:03 +0200 (CEST) Date: Thu, 6 Sep 2018 20:52:01 +0200 From: Wolfram Sang To: shubhrajyoti.datta@gmail.com Cc: linux-i2c@vger.kernel.org, michal.simek@xilinx.com, linux-kernel@vger.kernel.org, Shubhrajyoti Datta Subject: Re: [PATCH] i2c: xiic: Make the start and the byte count write atomic Message-ID: <20180906185201.GG8607@kunai> References: <1535967671-7784-1-git-send-email-shubhrajyoti.datta@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="fCcDWlUEdh43YKr8" Content-Disposition: inline In-Reply-To: <1535967671-7784-1-git-send-email-shubhrajyoti.datta@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --fCcDWlUEdh43YKr8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 03, 2018 at 03:11:11PM +0530, shubhrajyoti.datta@gmail.com wrot= e: > From: Shubhrajyoti Datta >=20 > Disable interrupts while configuring the transfer and enable them back. >=20 > We have below as the programming sequence > 1. start and slave address > 2. byte count and stop >=20 > In some customer platform there was a lot of interrupts between 1 and 2 > and after slave address (around 7 clock cyles) if 2 is not executed > then the transaction is nacked. >=20 > To fix this case make the 2 writes atomic. >=20 > Signed-off-by: Shubhrajyoti Datta > Signed-off-by: Michal Simek Added a newline for better readability, added the stable tag and applied to for-current, thanks! BTW we have no maintainer for this driver. Would you or Michal be interested in doing that? I don't maintain the whole driver directory anymore. --fCcDWlUEdh43YKr8 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAluRd1EACgkQFA3kzBSg KbaGUA//Y1TH+XzL0PJFUgv/9hLCeDYMrhwdpW1ah6Vx6hwCMkMLEX11xtIMQvQe Q7+Iyj5s7wuWXX3bDrtzMRT4OnSuvu9MYNsHlsCMM2I9SQD+EOC7WudXw1DJu7WA EL++/74DmSWhCRTCBkBgOtWgTzM+a/bUPkg2d8qFna6/DC8J9I3dTQf/vhtH4jXB 6GIV4ePOrj7p3GqI46fI5bwOUbEoJHahOBfXBmvaQ5RQomdSmT6LKjsJyrZXNXtK EE+YbLIg16KcDDTZ9aw0/kDhmMlHNs6LDv6LfLuz+piFDQdE2GhPIJDmf5erj5js mHhSuzXiXh6NFY3fsbG65nZ1Rk3Mm167NBr1RiZ8bZ60yqMHbC4gFg/J04KJghzg N/TvRzpCXQHNo5eNQCsaW+IA5n6dtP9OyoXZusP9XPuzpHzrc/0tHrf26vVS7s1q vtiTNfdqmfyXVFZzuFvvo4EwJnC1qRlE96eoHEC/1i+BQnWGacyrouFRBRO3H0eq ZJAsG6+lc77pmrspFbDlFB5fAu4/jFdYhpWKE7+pCqoePDZoe6mFxuLe8vEGaREC fLz/uEdy4nz3QIjuvew9WqUskwzKgP+6D8M8wZKOV/bduy5FOn08Pl5A73uZzG9J CNXVvcjmCz31mJUgFqUTdk97EkbsUFcK06OnJx91fCMOLlfI1wc= =XF2e -----END PGP SIGNATURE----- --fCcDWlUEdh43YKr8--