[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20130809114718.GB6427@sirena.org.uk>
Date: Fri, 9 Aug 2013 12:47:18 +0100
From: Mark Brown <broonie@...nel.org>
To: Ionut Nicu <ioan.nicu.ext@....com>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-kernel@...r.kernel.org
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.
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists