Messages in this thread | | | Date | Fri, 9 Aug 2013 12:47:18 +0100 | From | Mark Brown <> | Subject | Re: [PATCH 3/3] regmap: regcache: allow read-only regs to be cached |
| |
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. [unhandled content-type:application/pgp-signature] | |