From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751357AbcFYLeW (ORCPT ); Sat, 25 Jun 2016 07:34:22 -0400 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:40430 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751010AbcFYLeV (ORCPT ); Sat, 25 Jun 2016 07:34:21 -0400 Date: Sat, 25 Jun 2016 12:34:09 +0100 From: Mark Brown To: Guenter Roeck Cc: Greg Kroah-Hartman , linux-kernel@vger.kernel.org, Nishanth Menon Message-ID: <20160625113409.GA28202@sirena.org.uk> References: <1466823233-31501-1-git-send-email-linux@roeck-us.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="XilfshMFnlxBucLf" Content-Disposition: inline In-Reply-To: <1466823233-31501-1-git-send-email-linux@roeck-us.net> X-Cookie: Beware of Bigfoot! User-Agent: Mutt/1.6.0 (2016-04-01) X-SA-Exim-Connect-IP: 2a01:348:6:8808:fab::3 X-SA-Exim-Mail-From: broonie@sirena.org.uk Subject: Re: [RFT PATCH] regmap-i2c: Only use I2C_FUNC_I2C if val_bits == 8 X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: Yes (on mezzanine.sirena.org.uk) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --XilfshMFnlxBucLf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Jun 24, 2016 at 07:53:53PM -0700, Guenter Roeck wrote: > On chips with a register value size of 16 bits, I2C block reads will > typically not return the expected values. Instead, returned values > are most likely undefined if an operation crosses a register boundary. No, this just isn't true in general - if a device has trouble with bulk reads it needs to set use_sigle_rw in the config to disable them. Device limitations with bulk reads are a per device thing and are orthogonal to the value size, being more to do with the age and quality of the register map implementation than anything else. --XilfshMFnlxBucLf Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJXbmwwAAoJECTWi3JdVIfQiGkH/iQMz7JyBrFJB2arDTEZr43Z yOIBqxzM4jwYo/tMg8hsvQhEhVtIc2iAiXpcH0q/GWsgO+dkogAD/FEXE1ScIef9 /qanxmzDTPcg4TmXLNh9r6ojN7+pZqmDtWznUMzNk6y1Ao3mTPSLSewZ8vaKY+Qu fprithBUhH0/H/Ci9/Hop7TulanJ9vrRhTzk9Qy5DQGRjsJaJ4uUkGHlpBakzFT3 wyr3eACU3SxJ0BvkS466GaiiIdp64QjTRzzLX0crrVHZrmUkgpASnTxAetobs+gv LY9crdXr6K5Dw7A0YN7Fzej6co0n06/ZdhL2zUHtmn2YncPaGcB5wgfBy0sMdUg= =afSm -----END PGP SIGNATURE----- --XilfshMFnlxBucLf--