Received: by 10.223.185.116 with SMTP id b49csp4164364wrg; Mon, 26 Feb 2018 12:21:59 -0800 (PST) X-Google-Smtp-Source: AH8x226ngOa4eYC7GvFfDjq9+qJiDBY2iJiNR2VNSW66Ase6Cs8BSEhpHC6MYjAMq7l5K9o+i7Gx X-Received: by 2002:a17:902:9343:: with SMTP id g3-v6mr11953057plp.319.1519676519344; Mon, 26 Feb 2018 12:21:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519676519; cv=none; d=google.com; s=arc-20160816; b=gcNt10t1g2njiF6ZtR43e1FnK9hhUd/ExIcdYrnT7xV9B9GjUupIVVyLdPd7Q9r2sz l1GV0b1IfvqDNIc7/qDJ+qP8eg2avuyfaJBi73bZC6HmxI0vKiGhdzieRr83IaCAEKVR nDjSfmmbK30NqlRUV+QKDulhQByiJBlOUdjI1nyYRSpIDpsgqdVdMtIfrdhnBWqZi3cA 4NPk4OSJLzkgT14F7Qf3WNSPvHkIW/0AqZ4HKi93gqAbtOfplcxTulsZXZoJTunf28Rw kbKpYHb2ePZHj+B0DsIvlpprcYYCHq/yoZi+p4L0vHN9XWexw40JBkvsIWUoidKo/5Ml /eHA== 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:arc-authentication-results; bh=jmFnjIX4EyNc6kzh3ityH0PnQHTVJiIjL7khOTOScT0=; b=X6tgrGq0ClG9/p0xC9jvtMDv1S0CfLCwXjn2TDdb3UxCvlSjMdNrHLKkcGPra1nSdm a3S7W9gGW1bjdVwFCM2TNhvXV0Qtb4jyhfVKyt4JM6eU+a8vrkaW0GbwB82W/hNST7AI WnuqXu76+fVTy0fUQ4gC7/4pQVXcaIEC2zYAUBhKVK9P2qsjdtF75RAXH0W34nK6Z5ej 2L69Cxb10M40eORdvNAdLAbOJt7PNGc98za6Uw372z59KfVw+5/eu+wu4Rg2wT4RRhLT M+EgHTfuGhcpVx0hhGMvaU4KAAzcc4x36VJQA8Lcf8iLMpchOgbuSM4jU5gqF/6ili2f SymQ== 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 b12si562851pgq.773.2018.02.26.12.21.43; Mon, 26 Feb 2018 12:21:59 -0800 (PST) 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 S1752198AbeBZUUS (ORCPT + 99 others); Mon, 26 Feb 2018 15:20:18 -0500 Received: from sauhun.de ([88.99.104.3]:38392 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751558AbeBZUUP (ORCPT ); Mon, 26 Feb 2018 15:20:15 -0500 Received: from localhost (p54B3361F.dip0.t-ipconnect.de [84.179.54.31]) by pokefinder.org (Postfix) with ESMTPSA id BE81E2C66D2; Mon, 26 Feb 2018 21:20:13 +0100 (CET) Date: Mon, 26 Feb 2018 21:20:13 +0100 From: Wolfram Sang To: George Cherian Cc: linux-kernel@vger.kernel.org, linux-i2c@vger.kernel.org Subject: Re: [PATCH 2/4] i2c: xlp9xx: Handle transactions with I2C_M_RECV_LEN properly Message-ID: <20180226202013.l3z27ejdepjyk2oh@ninjato> References: <1516253964-4615-1-git-send-email-george.cherian@cavium.com> <1516253964-4615-2-git-send-email-george.cherian@cavium.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="rllogxxrfymchyg4" Content-Disposition: inline In-Reply-To: <1516253964-4615-2-git-send-email-george.cherian@cavium.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --rllogxxrfymchyg4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jan 18, 2018 at 05:39:22AM +0000, George Cherian wrote: > In case of transaction with I2C_M_RECV_LEN set, make sure the driver reads > the first byte and then updates the RX fifo with the expected length. Set > threshold to 1 byte so that driver gets an interrupt on receiving the fir= st byte. > After which the transfer length is updated depending on the received leng= th. >=20 > Signed-off-by: George Cherian Applied to for-next, thanks! --rllogxxrfymchyg4 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAlqUa/0ACgkQFA3kzBSg KbZxJBAAjtAEFTugvWCoiIZntfgbfJU7pdcq/vMlq6sacI0vUCZ0RFru5ao//BPA IdTPNDKLccmACy9iRjm7mlbvJAECqIbViim08NHbsLJ7biZ6Qg7ff0BfrlR8Voc3 4aLs4I5TyvorfhuT/jU54NVEXQeTxL1od0h449G3MS/21cbBCzgzHkM741V7HXa2 XZ8mfTPK97NXp4EXQ8Xy4QFxMmxvrc45DsIafWbOxJ3qanOZCZ5hkAsS084GxQb8 2o+xpceg5EFdW/65v1IuEwZjJ5HeQ2siff8MUuPDaKGari0zrNeckmVzlss8imBn xci+/KmZr7XZeaAv8Jhn5DhIJQE167A7sdT5fs+ce3a3eulXw9QlXVMZOGFxNx1t Y6cB6BRYsr97kQdw6SkFK0dW1LNulnA6CQY9XXhqMmky4FEIMvDP2TpQ/FgeivhL LDJEVefBJpOvLirHZEU50/vNBjjBPUr0KdKwKP49IO/FGAPP2WT+pNFLEor6A5ni sTp+xXLLml1t8GUvte6ob/2bWCkN/BAZ54APArqLsmvKbN5/EOEAgHlcwIfi1LVo bINEDQrctPS4EqGE9iXwHYuAv7VBHDFzbzwiTlhO1F8iTZG9LtraFOTZ0ZetbMWY FPWUiJUBuR9RADWyhHnaxQ0JRSisDSn+cnkRqHdhByFg0OyTzp0= =J07U -----END PGP SIGNATURE----- --rllogxxrfymchyg4--