Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752289AbbEFMCL (ORCPT ); Wed, 6 May 2015 08:02:11 -0400 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:52875 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750968AbbEFMCG (ORCPT ); Wed, 6 May 2015 08:02:06 -0400 Date: Wed, 6 May 2015 13:01:57 +0100 From: Mark Brown To: Kevin Cernekee Cc: lgirdwood@gmail.com, lars@metafoo.de, dgreid@chromium.org, abrestic@chromium.org, olofj@chromium.org, alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Message-ID: <20150506120157.GO22845@sirena.org.uk> References: <1430864057-3848-1-git-send-email-cernekee@chromium.org> <1430864057-3848-3-git-send-email-cernekee@chromium.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="hyMn90umCa8PZGeI" Content-Disposition: inline In-Reply-To: <1430864057-3848-3-git-send-email-cernekee@chromium.org> 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 V4 2/5] regmap: Use regcache_mark_dirty() to indicate power loss or reset 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: 1348 Lines: 36 --hyMn90umCa8PZGeI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, May 05, 2015 at 03:14:14PM -0700, Kevin Cernekee wrote: > Existing regmap users call regcache_mark_dirty() as part of the > suspend/resume sequence, to tell regcache that non-default values need to > be resynced post-resume. Add an internal "no_sync_defaults" regmap flag > to remember this state, so that regcache_sync() can differentiate between > these two cases: Applied, thanks. --hyMn90umCa8PZGeI Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJVSgK0AAoJECTWi3JdVIfQAqkH/2y3hwLyh+0HaVJNVJ7/pH+U aLY+IVe8Ar8eaqSKi6NNO5T+w0DTF8opBPriGszWKNy+Uwo/ZkXSedE7r1nyluKV te7WzMICBweVPvuznJPkkdLWPPHORIqhfydt0GYgjlqha3c/u2gxotqQLHKIXZQ+ p2AJ6Zih7TtfEUIntStYrigrX4vc/dIJcV/FP1Fc0gskEtXoQQy6r0m65TonPZTm PgvcyuJd9HP4MPmX+51u5R07qyVMSZj0JwuEEwdFBVT4qBvDiKyaT0Q1BgRQ91aN m86HdtkZtyW/7GqB36XKZCL4P6qWtBVTkBIIO94j5Zqij+m0xlVaA5CX7CVWpLc= =MFvg -----END PGP SIGNATURE----- --hyMn90umCa8PZGeI-- -- 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/