Re: [PATCH 1/3] regmap: Properly round reg_bytes and val_bytes

From: Mark Brown
Date: Mon Jan 30 2012 - 08:45:43 EST


On Mon, Jan 30, 2012 at 02:35:29PM +0100, Wolfram Sang wrote:

> Understood. I'd think we will find a non-intrusive way when a more generic
> format_x_y-function seems worthwhile.

Probably either your suggestion of just storing the shifts in there will
be it or it'll just turn out that there aren't actually enough odd
formats to make it worth worrying about the hard coding. I was making
this decision before we had the cache or anything like that so was
thinking about what made sense for facilitating the infrastructure work.

Attachment: signature.asc
Description: Digital signature