Re: [PATCH 6/6 v3] regmap: Incorporate the regcache core into regmap

From: Mark Brown
Date: Thu Sep 15 2011 - 19:53:28 EST


On Fri, Sep 16, 2011 at 01:20:32AM +0200, Lars-Peter Clausen wrote:

> But for writes the error is propagated to the caller, instead of falling back
> to a hw write. There should be at least consistency between the two.

Hrm, yes we should do that (I haven't actually had time to read this
round yet).

> And I think we should document that regmap_readable and regmap_writeable don't
> prevent actuall hw access, but are merely meant as hints for stuff like caching.

Well, right now we don't enforce anything at all. I wouldn't object to
a patch for this but once we go out of spec I think we're fine so long
as we're senseible.
--
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/