Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp1190073ybn; Wed, 2 Oct 2019 12:11:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqy9xMjvGDQ4HXFPVZ+0SyuUVZWwFIhLmTjeV58IRY0AWmqhK8DTRP5I5WC5ZNSrJWnF65tE X-Received: by 2002:a17:906:16cd:: with SMTP id t13mr4484424ejd.153.1570043468037; Wed, 02 Oct 2019 12:11:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570043468; cv=none; d=google.com; s=arc-20160816; b=nQ5SfrNmF7GuDFrB3gf4uKUtHjL6z1YbF2hAiT982sgqK4p/+m4Tq2Xlu9IC1URcI0 nHbqyYe/AilppgVTz6kpzcv0V/2KgSjEa11/iJl1g+QGmgvnx/mUtdR3+9GFYnEn0hzH haiM5BhmYMUzEpmpvY7aXf4ooMHabhvHK3F0Fo7ioGMUAFVwAHu5xHLUQIhYokbcdVWo UyFJdK+HoOFxvP56sCyyG8GM/IjdHKOUIMzDBWUxH/Ba9ip8kNd3tXN7UDHwfg3adb2a B9WyVhm8I31LD6sLgX1jmVN9QSmxOpgrkjBT62yTL+7qWm2h4FbsKCrKTSJNfaiBlAu7 soag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:subject:message-id:date:cc:to :from:mime-version:content-transfer-encoding:content-disposition; bh=yNcB68LYsmrM1qfXAo+Zh3i/lDyTJbbTkkZ4sGbJATE=; b=JVQc0LxNpzEBZ9Glx7ArtIKsUA1upvhdVPXgoqXKLSI4QQiu0hv6Nh9FR9vD5ihKN2 jdNV9DD61AhlVedPbCdNr6zagKjDWwkPBegGGUHINLMuUKG9yY75Tp9EcSSznNOoKkel I8nG2h4+7eN0YdP3B2I8gycrgAQiXZcHRgA14EYKPuxtvHXJRxOGVohCKnowNqZdL3fO DYUREbIZn2262WlP1wIAFu4wqfxQv6Joo6kYqNFxddh4UKeTWqoFEiJXN3jm+xMnMibb 0peRFuTNpbaYAnZWR2TM6w8j+QuYeXpBkxjmk2br1/2r2jZ8Mk3eQSjlwDZusikeCQaE 3tGw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h3si11811edh.372.2019.10.02.12.10.44; Wed, 02 Oct 2019 12:11:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729191AbfJBTIL (ORCPT + 99 others); Wed, 2 Oct 2019 15:08:11 -0400 Received: from shadbolt.e.decadent.org.uk ([88.96.1.126]:35216 "EHLO shadbolt.e.decadent.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728992AbfJBTIH (ORCPT ); Wed, 2 Oct 2019 15:08:07 -0400 Received: from [192.168.4.242] (helo=deadeye) by shadbolt.decadent.org.uk with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iFjyn-000358-4Q; Wed, 02 Oct 2019 20:08:05 +0100 Received: from ben by deadeye with local (Exim 4.92.1) (envelope-from ) id 1iFjym-0003a6-Sf; Wed, 02 Oct 2019 20:08:04 +0100 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 From: Ben Hutchings To: linux-kernel@vger.kernel.org, stable@vger.kernel.org CC: akpm@linux-foundation.org, Denis Kirjanov , "Mark Brown" , "S.j. Wang" Date: Wed, 02 Oct 2019 20:06:51 +0100 Message-ID: X-Mailer: LinuxStableQueue (scripts by bwh) X-Patchwork-Hint: ignore Subject: [PATCH 3.16 04/87] ASoC: cs42xx8: Add regcache mask dirty In-Reply-To: X-SA-Exim-Connect-IP: 192.168.4.242 X-SA-Exim-Mail-From: ben@decadent.org.uk X-SA-Exim-Scanned: No (on shadbolt.decadent.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 3.16.75-rc1 review patch. If anyone has any objections, please let me know. ------------------ From: "S.j. Wang" commit ad6eecbfc01c987e0253371f274c3872042e4350 upstream. Add regcache_mark_dirty before regcache_sync for power of codec may be lost at suspend, then all the register need to be reconfigured. Fixes: 0c516b4ff85c ("ASoC: cs42xx8: Add codec driver support for CS42448/CS42888") Signed-off-by: Shengjiu Wang Signed-off-by: Mark Brown Signed-off-by: Ben Hutchings --- sound/soc/codecs/cs42xx8.c | 1 + 1 file changed, 1 insertion(+) --- a/sound/soc/codecs/cs42xx8.c +++ b/sound/soc/codecs/cs42xx8.c @@ -557,6 +557,7 @@ static int cs42xx8_runtime_resume(struct msleep(5); regcache_cache_only(cs42xx8->regmap, false); + regcache_mark_dirty(cs42xx8->regmap); ret = regcache_sync(cs42xx8->regmap); if (ret) {