Re: Regmap cached only when write happen to register

From: Mark Brown
Date: Mon May 14 2012 - 12:47:44 EST


On Mon, May 14, 2012 at 10:11:31PM +0530, Laxman Dewangan wrote:

> When debugging on register caching, found that register is getting
> cached only when write happen to the register otherwise it will not
> get cached even any number of read happen.
> Is it by intended or there is opportunity to enhance it so that
> during read also we can cache it.\?

If you check -next you should find that the current code already caches
any single register read.

Attachment: signature.asc
Description: Digital signature