mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Guenter Roeck <linux@roeck-us.net>
To: Mark Brown <broonie@kernel.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	linux-kernel@vger.kernel.org, Nishanth Menon <nm@ti.com>
Subject: Re: [RFT PATCH] regmap-i2c: Only use I2C_FUNC_I2C if val_bits == 8
Date: Sat, 25 Jun 2016 08:09:44 -0700	[thread overview]
Message-ID: <576E9EB8.4080100@roeck-us.net> (raw)
In-Reply-To: <20160625113409.GA28202@sirena.org.uk>

On 06/25/2016 04:34 AM, Mark Brown wrote:
> 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.
>

Ok, thanks for letting me know. I'll try that.

Guenter

      reply	other threads:[~2016-06-25 15:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-25  2:53 Guenter Roeck
2016-06-25 11:34 ` Mark Brown
2016-06-25 15:09   ` Guenter Roeck [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=576E9EB8.4080100@roeck-us.net \
    --to=linux@roeck-us.net \
    --cc=broonie@kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nm@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®