From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756689AbbCFLVt (ORCPT ); Fri, 6 Mar 2015 06:21:49 -0500 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:53172 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756672AbbCFLVq (ORCPT ); Fri, 6 Mar 2015 06:21:46 -0500 Date: Fri, 6 Mar 2015 11:21:42 +0000 From: Mark Brown To: Daniel Baluta Cc: Linux Kernel Mailing List Message-ID: <20150306112142.GG21293@sirena.org.uk> References: <20150305175356.GB21293@sirena.org.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="TBBKB/koyhOMjOb9" Content-Disposition: inline In-Reply-To: X-Cookie: My LESLIE GORE record is BROKEN ... 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 --TBBKB/koyhOMjOb9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Mar 05, 2015 at 08:14:14PM +0200, Daniel Baluta wrote: > On Mar 5, 2015 7:54 PM, "Mark Brown" wrote: > > Probably, or there's a bug. What should happen is that if the register > > default appeared successfully then the read will get statisfied from the > > cache in the manner you describe - presumably that's gone wrong somehow. > > Have you set num_reg_defaults? That's the obvious thing... > Did that. I will have a closer look. Thanks for the answer. OK, the other thing that springs to mind to check is that the register didn't somehow get marked as volatile. --TBBKB/koyhOMjOb9 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJU+Y3FAAoJECTWi3JdVIfQG8QH+wZnCN24L8HZW3HLr4s1a4Qu MXU+14Q7KB30ek3oWcAAUu0lLLz69ZBCR+mTTZTQSD8dRnuEekp1jZmSUywUmdEJ isE+t4TMp7ZyPqru+da5BINRQwNHoJX1n8MFp+rPXjkeUnKuMAHZpXltNy2BZdMx oLwczXBd+cFSqzJVuldoX9N04iEKKDxzDyI1dG9HkLnz5uoZYOdS5RXneEbN0WIo 2vTE1w5AOAQ0rzvxBQDAZEXdUy51E2oWFBzumt+511hle9mwgq5xnr5OA5TbdGmq YhGEyXaXlWhrb3inCAu7RCCIoLI3ySWcc63zBpzx29oCaROvd9JZUwn5EMtP3vw= =ESRC -----END PGP SIGNATURE----- --TBBKB/koyhOMjOb9--