Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7252675ybi; Thu, 1 Aug 2019 05:33:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqwM0TZ9ZqaaU/6G4ASPO2uVVj+iYfLbt8X+XSiRlTT4kJauhCa6E/OMIhZG9HStNowtrveQ X-Received: by 2002:a62:303:: with SMTP id 3mr52938678pfd.118.1564662833671; Thu, 01 Aug 2019 05:33:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564662833; cv=none; d=google.com; s=arc-20160816; b=mVOndY5uyewBeMzRvmxC6QGpU0+5qT7mR/vT37qumHa9aS7b97KaxApUqgNFs5b+23 WU8mRVBcKc2OoF6dXWyKnkydJpheuqKlzFpuAcsTiFfQBUTiXIxSJ/atKU9+RuyFuXcd ERMEA7rFGWxDv85jPOD5grG0O6Jpxb8kHhP2Ptrjh8a6OKV7hnaKp6l0ajAv3mE6pmjR lTjRQBzUijxEpT0KlZ2fYsDwjn6kdPOzk49ikcsKkdG6nt7g97Oev918gWclb9Tk83Ln IPUdRxo/rXCD6rTTqInmDY1XbNyfZKb9fktJxGqsTrfxOsulJS+pfCfracTEAyTUkaZh 1Now== 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=EHiwOTgjiPoi+iMzs7rpJGuql6gvp8Y0f1GnbhxAZ6A=; b=UcOVVQ02ODTJwgVsxEydbpYHB6ZZBnvaGYzObRafbGPqXLC8WTqzTlB/3IbZ+aXYul Fb0HDDa7DdaZbBmVNZZK1rQdc8tn3ufhxOaMZnWSpj8vMfwostl1ASuYiqq9rRUEAA8S 0WLCeio1ejxG09sBS3zE7z5r8dwY2eNYjBjCA1Tczn8zJB7+OBeoXwMw+8iqFaJbI238 0jA+a0apCGzYjk7fbb8xOeaJ3lOZDHpB9vh7bXJYrXMwtjfcpjove51wFi/JdOtbHI9D vRm7YxapsV0dm5UqWxt+UxVkFVOGV/bffi7OkD05/eRKrojRcqCOJi/h3RzDDOpajZSM Iy5A== 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 y82si34134514pfb.58.2019.08.01.05.33.35; Thu, 01 Aug 2019 05:33:53 -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 S1730795AbfHAMbd (ORCPT + 99 others); Thu, 1 Aug 2019 08:31:33 -0400 Received: from sauhun.de ([88.99.104.3]:52418 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728800AbfHAMbd (ORCPT ); Thu, 1 Aug 2019 08:31:33 -0400 Received: from localhost (p54B333D2.dip0.t-ipconnect.de [84.179.51.210]) by pokefinder.org (Postfix) with ESMTPSA id 029702C2817; Thu, 1 Aug 2019 14:31:30 +0200 (CEST) Date: Thu, 1 Aug 2019 14:31:30 +0200 From: Wolfram Sang To: Rayagonda Kokatanur Cc: Rob Herring , Mark Rutland , linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, Ray Jui , Florian Fainelli Subject: Re: [PATCH v1 1/1] i2c: iproc: Fix i2c master read more than 63 bytes Message-ID: <20190801123130.GE1659@ninjato> References: <1563956907-21255-1-git-send-email-rayagonda.kokatanur@broadcom.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="2hMgfIw2X+zgXrFs" Content-Disposition: inline In-Reply-To: <1563956907-21255-1-git-send-email-rayagonda.kokatanur@broadcom.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 --2hMgfIw2X+zgXrFs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 24, 2019 at 01:58:27PM +0530, Rayagonda Kokatanur wrote: > Use SMBUS_MASTER_DATA_READ.MASTER_RD_STATUS bit to check for RX > FIFO empty condition because SMBUS_MASTER_FIFO_CONTROL.MASTER_RX_PKT_COUNT > is not updated for read >=3D 64 bytes. This fixes the issue when trying to > read from the I2C slave more than 63 bytes. >=20 > Fixes: c24b8d574b7c ("i2c: iproc: Extend I2C read up to 255 bytes") >=20 > Signed-off-by: Rayagonda Kokatanur Applied to for-current, thanks! --2hMgfIw2X+zgXrFs Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAl1C26IACgkQFA3kzBSg Kba85w//WB/fT1rfNyJzzedg2jVwLmdiaCcBYk4Y+Sz9sKRE3/SAdPulfp/wRUcb Q0YUiC2cRjunfZK0voZ5EUSFU+pBvM8dIRuTIWon/qdi1+6tDDAFIuXcswulFf1d 09hBq1/aSOad318mNt2k4qJmUNyLvDaeYFHDCLwic1K48FWFqTWzgLpFn0idKxYq wIqINQz9dl6Qg0t81emc4xX0MB202LoaDriix4ERwHFjLsQuseqr4IeDrbXtGvLN 7msFGGu7cgru2AUNXKPYWpZP3NItfZexR7AVhYKvuvDECy/jk/f+3DSyxj7qvrnS 1Am4aRNQI6BQRzpfVCZwOEdOTpsx9SCQTEKpWkj6P5sde01ghq/oQzp8ENb9qoj7 cuqGUJ3jf02dSLLFXusgfqywUEmLktGX+1gUvicURBykEYEecUV2xgCjnB3e7cTf v3/IJxTqDRpeCIbMkD0W4MN3WVoFISnn/Vl50oH7GiwoxVJ4TnFdNOZ8TmWfV1TG EoQf9yQR3vcmz13HUwyF8W27wJwWJ8u0iWLyqxeCgDaKtHRrL5HG8bEPu3rdLafE 6n5ksnQpABRPshtd18hRQyGVqWaqNDUjKLJgGJVhqK3kbnvgGg0Z8qrcQHOA7tl+ HMquJaDbDdS3AMUD3N0JHWqTr236PF05THzOH1X4hXIfsRtnPF0= =L7tj -----END PGP SIGNATURE----- --2hMgfIw2X+zgXrFs--