From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754271AbbCGLF0 (ORCPT ); Sat, 7 Mar 2015 06:05:26 -0500 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:55892 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751101AbbCGLFZ (ORCPT ); Sat, 7 Mar 2015 06:05:25 -0500 Date: Sat, 7 Mar 2015 11:05:17 +0000 From: Mark Brown To: Daniel Baluta Cc: Lars-Peter Clausen , Linux Kernel Mailing List Message-ID: <20150307110517.GG28806@sirena.org.uk> References: <20150305175356.GB21293@sirena.org.uk> <20150306112142.GG21293@sirena.org.uk> <54F9A171.5000107@metafoo.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="bO4vSxwwZtUjUWHo" Content-Disposition: inline In-Reply-To: X-Cookie: Editing is a rewording activity. User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: 94.175.94.161 X-SA-Exim-Mail-From: broonie@sirena.org.uk Subject: Re: Using regmap_update_bits to update a write only register X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: Yes (on mezzanine.sirena.org.uk) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --bO4vSxwwZtUjUWHo Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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. --bO4vSxwwZtUjUWHo Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJU+tttAAoJECTWi3JdVIfQJK8H/i3vz834AnQUZFgWYrDvUyTl L52HpGblqivSDgk4Z+enXxD4U3y6apFoyXBoSXdtqwir5xn4mYkWbakVsPfu7ko9 nuDyqJrRaUz01aktfPD+sMGhrovtjIRDfrNeHFb7/ijwMda6rBgj8dde5b42s40V e9x2Kn6ea+BghufwxxtekTGb7/lmang9CE4eavLvZwhvSCMs4rfDr2pXuSRdwBWU UulOpfwlRNSL0ZAAguAtuWpBsWm2WmEEoArdBpjlpkOPG7fTHUoZyIEVVJPtXaR/ 6xRo4ysYz4RcbyyBHVB+prxBYUdfl307mDVt/LgR3FPsAgGdoYZenh9LxGB8Opw= =skYl -----END PGP SIGNATURE----- --bO4vSxwwZtUjUWHo--