lkml.org 
[lkml]   [2016]   [Jun]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFT PATCH] regmap-i2c: Only use I2C_FUNC_I2C if val_bits == 8
From
Date
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

\
 
 \ /
  Last update: 2016-06-25 17:41    [W:0.042 / U:0.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site