Received: by 10.213.65.68 with SMTP id h4csp512628imn; Fri, 16 Mar 2018 10:01:53 -0700 (PDT) X-Google-Smtp-Source: AG47ELsEeE/L1exytUXpRfprn4IRp++42ox3nQzOyIukN3CPD9BiBlLKVr7TxWw0asUjTmyzGUEL X-Received: by 2002:a17:902:3283:: with SMTP id z3-v6mr2868894plb.118.1521219713691; Fri, 16 Mar 2018 10:01:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521219713; cv=none; d=google.com; s=arc-20160816; b=McuUywCE+Hev+bdRUml5ouCU+CmmGeH2EwDDeR08zWCgd8krMEnE69lJEPShFUtui7 ItWntqYHd4hWBxNTwk8i6rpQc6mCX0UEzT9MInFstN+d4LDJQb0tQYxrA20bf3QcEw7A tASwjgLc2BhjYCZiZ233v93C8ZIQux9x71kZBH2poDI1brtcNSL6HZ/AlVnHrxuCyaoL DSMeDKRUwoJpJNcnQP9xTlH7C9dESTsfDglnPnGKQVOpIFwMb2upfRsF4nz/TcDy9/bC n49M1/jFCsHcNn7M3XGMGb0A6gQqDCeC2MbjUr2b02Po8kpSg7x7ooW2f9aT1Oyj2AxX bE1Q== 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=iHYugjuKGCDMb/umYQC4bzC+tRMyPNbP1octyHXBxCY=; b=xJ42HUlIU4bHi+41UoRI9HFaT3hd7Z75JSZOs98AKHuPM2feTegG0/SkAwWLcq1QzY H1ZRLwPrSSV8D7QsEq9J5xVuD6MAUzuAGzqpU0HEW5YztkMaxUvfqwmXxpQm3Hn0vmrx 2KouMeN1CLaJ6DXly7M0T8ks9a0zrVzc6RBxml67hZptX0cpTURnr5/s5v6/2iBtEeeK jBhghOuZnhIIks9aPYz6vpX5MzX/+mxEXK31nUx9cQIek2oST8ipM0aZodrw/cmglU7q X4Ozby6QMKI84IL6mtPRU3/X7RcaCLHEI4DYKQ57Mmw7hLELDNMQY4aP+4OgHxkLfH0A bimg== 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 t66si5281645pgc.606.2018.03.16.10.01.38; Fri, 16 Mar 2018 10:01:53 -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 S933665AbeCPPc7 (ORCPT + 99 others); Fri, 16 Mar 2018 11:32:59 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:38200 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933619AbeCPPc5 (ORCPT ); Fri, 16 Mar 2018 11:32:57 -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 CE07D11F8; Fri, 16 Mar 2018 15:32:56 +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.9 72/86] ASoC: rt5651: Fix regcache sync errors on resume Date: Fri, 16 Mar 2018 16:23:35 +0100 Message-Id: <20180316152322.208760495@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180316152317.167709497@linuxfoundation.org> References: <20180316152317.167709497@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.9-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 @@ -1736,6 +1736,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)