Received: by 10.213.65.68 with SMTP id h4csp487011imn; Fri, 16 Mar 2018 09:12:49 -0700 (PDT) X-Google-Smtp-Source: AG47ELvYyKdkHLJYJOspUSGrT6+RMT6Q32FvKHa6gwWbqQakRj+6PPaIZ7M1JmStOHVGuE93/OcN X-Received: by 10.101.97.139 with SMTP id c11mr1875783pgv.443.1521216769132; Fri, 16 Mar 2018 09:12:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521216769; cv=none; d=google.com; s=arc-20160816; b=Mt4jy9TgPtTraPUo0JmDUtdBLYkvFBrUN1wtdSno0PEDsDTKmzCA4uVAffjEyZzAxs esDNsANUcGSw9pZi/OCI2NITpk6PGrgCLmiAc6oTt/povxbJSLGfcw597qt7ATZEEdPl m2F726sxhPXbJjMdHxn5rQnG9vGK1QpcnFKW4xAl79Cnh2IFU63EtTAeBGoWzbqWky0q 8Ei5ywBhELNjzSyFWJPcn+MV5eSIdEJyVJcVf9lDAL6u97InYNGByww7e74YqMfk7BZQ WsHXpEoFIC8sKFo4/KQ9vFpMRVzsRwt/Cy9sq+pFuTndCaLO3fD/E7n8g+HFksjgjCMw t0Aw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=V5mWBP9nShsOOIR1iz5RjakU7+rG8iW23cxBC0Ki27M=; b=M9MBhC4RbU8Y36S7vEYXpUlkbrgw7z8DRLaqP7SUa/q5KsE6mwnNeg0hyq02wl+px9 TmVBd7e4lx6hZjX5dsQegY2cwNNXhY89trIOGTZZutXC8mC9ejYKqhNM9h+Id38v+4FG 9LmqD6Sk2lITp4oQBmY6FeD8TwHdOIc8t/Vl4ZVWUu9svL9HY7CJRvpvt/v/ZnB7CSfj HT8AesfL3c5PU6nnkLXJ0J8ZkKvS0ZKwFPK3JD3ZhR0H5VHUygUrWLTxggyDv5Au8BH3 XrKLHwUf3eSMWXVo2Ctnpek6m35/HOF6N5o9dcPTMsvYh1QAkjoxKH0Pnn9x5sUhAwcN XxXA== 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 m10si5205883pgs.236.2018.03.16.09.12.34; Fri, 16 Mar 2018 09:12:49 -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 S964770AbeCPQLV (ORCPT + 99 others); Fri, 16 Mar 2018 12:11:21 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:43760 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965102AbeCPPkr (ORCPT ); Fri, 16 Mar 2018 11:40:47 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id B92D0E7A; Fri, 16 Mar 2018 15:40:46 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Hans de Goede , Mark Brown Subject: [PATCH 4.15 005/128] ASoC: rt5651: Fix regcache sync errors on resume Date: Fri, 16 Mar 2018 16:22:26 +0100 Message-Id: <20180316152336.481323916@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180316152336.199007505@linuxfoundation.org> References: <20180316152336.199007505@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.15-stable review patch. If anyone has any objections, please let me know. ------------------ From: Hans de Goede commit 2d30e9494f1ea320aaaad0cff9ddd92c87eac355 upstream. The ALC5651 does not like multi-write accesses, avoid them. This fixes: rt5651 i2c-10EC5651:00: Unable to sync registers 0x27-0x28. -121 Errors on resume (and all registers after the registers in the error not being synced). Signed-off-by: Hans de Goede Signed-off-by: Mark Brown Cc: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman --- sound/soc/codecs/rt5651.c | 1 + 1 file changed, 1 insertion(+) --- a/sound/soc/codecs/rt5651.c +++ b/sound/soc/codecs/rt5651.c @@ -1722,6 +1722,7 @@ static const struct regmap_config rt5651 .num_reg_defaults = ARRAY_SIZE(rt5651_reg), .ranges = rt5651_ranges, .num_ranges = ARRAY_SIZE(rt5651_ranges), + .use_single_rw = true, }; #if defined(CONFIG_OF)