Re: [PATCH 3/3] regmap: regcache: allow read-only regs to be cached

From: Mark Brown
Date: Fri Aug 09 2013 - 07:47:45 EST


On Fri, Aug 09, 2013 at 12:09:20PM +0200, Ionut Nicu wrote:
> The regmap_writeable() check should not be done in
> regcache_write() because this prevents read-only
> registers to be cached. After a read on a read-only
> register its value will not be stored in the cache
> and the next time someone will try to read it the
> value will be read from the bus instead of the
> cache.

Applied, thanks.

Attachment: signature.asc
Description: Digital signature