Re: Using regmap_update_bits to update a write only register
From: Mark Brown
Date: Sat Mar 07 2015 - 06:05:30 EST
On Fri, Mar 06, 2015 at 03:27:55PM +0200, Daniel Baluta wrote:
> > There were some bugs in the past were non-readable register automatically
> > got marked as volatile, this has been fixed though a few months ago. Try to
> > make sure you use the latest upstream version of regmap.
> Thanks for pointing this out. I am using 3.19. Changing from
> REGCACHE_RBTREE to REGCACHE_FLAT fixed the problem for me.
> I will update my sources and try again with REGCACHE_RBTREE when
> I'll have some time.
RBTREE should of course work.
Description: Digital signature