Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757078AbcK2VrE (ORCPT ); Tue, 29 Nov 2016 16:47:04 -0500 Received: from www.zeus03.de ([194.117.254.33]:53080 "EHLO mail.zeus03.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755876AbcK2Vq3 (ORCPT ); Tue, 29 Nov 2016 16:46:29 -0500 Date: Tue, 29 Nov 2016 22:46:26 +0100 From: Wolfram Sang To: Austin Christ Cc: nkaje@codeaurora.org, wsa@the-dreams.de, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, rruigrok@codeaurora.org, timur@codeaurora.org, cov@codeaurora.org, sricharan@codeaurora.org, linux-arm-kernel@lists.infradead.org Subject: Re: [v6,2/2] i2c: qup: support SMBus block read Message-ID: <20161129214626.GA23072@katana> References: <1476203277-6893-3-git-send-email-austinwc@codeaurora.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7AUc2qLy4jB3hD7Z" Content-Disposition: inline In-Reply-To: <1476203277-6893-3-git-send-email-austinwc@codeaurora.org> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1747 Lines: 46 --7AUc2qLy4jB3hD7Z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Oct 11, 2016 at 10:27:57AM -0600, Austin Christ wrote: > From: Naveen Kaje >=20 > I2C QUP driver relies on SMBus emulation support from the framework. > To handle SMBus block reads, the driver should check I2C_M_RECV_LEN > flag and should read the first byte received as the message length. >=20 > The driver configures the QUP hardware to read one byte. Once the > message length is known from this byte, the QUP hardware is configured > to read the rest. >=20 > Signed-off-by: Naveen Kaje > Signed-off-by: Austin Christ > Reviewed-by: Sricharan R Applied to for-next, thanks! --7AUc2qLy4jB3hD7Z Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJYPfcyAAoJEBQN5MwUoCm2aTsQAIs/I8H3xG1OzSDbOWb0cMMy qZukvnseCg+WnwDoHCNe3wHQowmTAmKchr9Vi+i/J6JI/6/OR0ZZjxqBt5LYUA5l nD4OqSlkjhVKX4RqA2LmNpj9dOrPEtl98ZikeBQu9AjRbv26Ivi8OVjvV53mGFsd TO+avzoD0aGNL+YWBWtwcZVFH2pzbur5MIf5+9f2mZIRIxl6cZE7UoBoDNTxqu25 kJC3qbjeilbrEUA82FmNP2pQVTLkXh42IMx9YK0VgWHA8nB+OvUaoTiTgFuMoCHY EYGSu2BWr523uLo4bM57tmm4zcIrk9kY3PFA9HTH6nBY6ChaqAomyK4ajywypS0o QOjwQ7drSlQ6ZLp/+Xn3AtmI3egsIBRE4/1TLSx1mnjRK/YjBKW7P5igwyWcDbqO qcdH0VjLXXLcxACGCEBEe6OjJ7N7HZQENBY3VobKf+KJUwlzyeF+FCsFEXTQZ/CB ca3ytuJKADepm1MA1KwlXSHOB/xS6wGcBLMoO1NPSF54cr1AhfjbJuqbAkfDOM5K E8UnuAFtSZaPiaeA30uzksbTU7xCPsRJf1apk4QqQmGJC+aE+SR/VKjRGqFIMP6H X/+xdVNXgh70GW60M/VEmetgi6whjAcIYipP7J9kP7DtfCAzyNMEXdRmGk3bRfV6 3HbXJynrBem+0DJS0N1g =pmVj -----END PGP SIGNATURE----- --7AUc2qLy4jB3hD7Z--