Re: [PATCH 1/2] regmap: Support half writes and padding betweenregister and value.

From: Mark Brown
Date: Fri Sep 09 2011 - 12:31:04 EST


On Fri, Sep 09, 2011 at 05:30:01PM +0100, Jonathan Cameron wrote:
> On 09/09/11 17:14, Mark Brown wrote:

> > Some devices apparently use an entire byte or word with a magic flag in
> > it to distinguish reads and writes. These end up looking like 16 bit
> > registers with only the lower 8 bits actually used in the current code.

> Ah, fair enough there is a use case. Can we add this as an additional patch
> when needed?

Yes, of course. Only consideration is that the current option needs to
be clearly named to avoid colliding with such an addition.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/