lkml.org 
[lkml]   [2013]   [Aug]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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]
\
 
 \ /
  Last update: 2013-08-09 14:01    [W:0.035 / U:0.864 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site