Re: [RFC 0/7] iio: inv_mpu6050: Support i2c master and external readings

From: Mark Brown
Date: Mon May 02 2016 - 11:24:08 EST


On Sun, May 01, 2016 at 06:04:08PM +0100, Jonathan Cameron wrote:

> If you were to break these registers up into regmap fields it might solve
> this.. Regmap writes always go through whatever - whether they match the
> existing state of the cache or not. If fields are involved the write will get
> built up from whatever field you change and whatever the cache has for other
> elements. I guess it only works if they volatile bits are contiguous though.
> Maybe hand rolling it is cleaner here.

> Mark, any clever thoughts on this?

I don't have enough context here to be sure what the problem you're
trying to solve is, sorry.

Attachment: signature.asc
Description: PGP signature