Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1946080AbbDXQu5 (ORCPT ); Fri, 24 Apr 2015 12:50:57 -0400 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:34008 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030348AbbDXQuw (ORCPT ); Fri, 24 Apr 2015 12:50:52 -0400 Date: Fri, 24 Apr 2015 17:50:38 +0100 From: Mark Brown To: Kevin Cernekee Cc: Liam Girdwood , dgreid@chromium.org, Andrew Bresticker , Olof Johansson , alsa-devel@alsa-project.org, devicetree@vger.kernel.org, "linux-kernel@vger.kernel.org" , Lars-Peter Clausen Message-ID: <20150424165038.GS22845@sirena.org.uk> References: <1429134141-17924-1-git-send-email-cernekee@chromium.org> <1429134141-17924-2-git-send-email-cernekee@chromium.org> <20150418113632.GE26185@sirena.org.uk> <20150424092839.GI22845@sirena.org.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="xXOpbbhANqpLO4rK" Content-Disposition: inline In-Reply-To: X-Cookie: Your present plans will be successful. 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: [PATCH 2/3] ASoC: tas571x: New driver for TI TAS571x power amplifiers 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 Content-Length: 1627 Lines: 42 --xXOpbbhANqpLO4rK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Apr 24, 2015 at 06:52:01AM -0700, Kevin Cernekee wrote: > On Fri, Apr 24, 2015 at 2:28 AM, Mark Brown wrote: > > Do you need to work around it? If the register map is being perserved > > you don't need to sync so just don't do it - it's just that the normal > > expectation would be that power down would cause the register map to be > > reset. > How do I tell regcache to write out any updates that happened while > the hardware was inaccessible? I see that regmap->cache_dirty is 1, > but nothing flushes it automatically when exiting cache_only mode. Oh, I see. A sync will be required, yes. Probably resetting the device is easiest. --xXOpbbhANqpLO4rK Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJVOnReAAoJECTWi3JdVIfQyV4H/Rc+qlL/5Rmaa/GfMAUa2anO YhbRfHYMz4mOdRIthVAieiwQ/2VPJ68ofs9SQBXuzO4qqNJjkbZbWmxgvkdAD7DF X2QGIXWK+OfNLF4KfS3FvYOuGkoDp6Q5p7a9E0WSXr5OpakAcjNxYAtsgW7rEhby ATJf9COr+oGgn1SwfZ5maRXlHU6XePhAnT0Y8WCPbjvrl6De3MEAAflPcKFH6GXm 4dYlq7v7+MA+RRlmOyTbW55pzRjcS58EbPnlhgiUpN7yWdv2ihB0QjebF8jNDWC1 c+jT8n0ZrnVXPr0HbsSSbc8JgixsGiu2YhBqGiq41rNTIjHIc8gfAwOM9m+FJvA= =eRkH -----END PGP SIGNATURE----- --xXOpbbhANqpLO4rK-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/