Received: by 10.213.65.68 with SMTP id h4csp466788imn; Fri, 16 Mar 2018 08:37:01 -0700 (PDT) X-Google-Smtp-Source: AG47ELvmgA7RjE0QvhDC6udJfb6nqDUuTnTtKhuyyNCnHRcGvvNvBA0L265VsAbUq7GDHvpVhXdX X-Received: by 10.101.81.76 with SMTP id g12mr1823212pgq.88.1521214621378; Fri, 16 Mar 2018 08:37:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521214621; cv=none; d=google.com; s=arc-20160816; b=KMDrq1s2k6FGGDaM1dfSU23SdMMUNdQ6oGGZtJFJ3PTzaICZ3pzriL5rlcobBzXCSh dOzk9dVlGT8lD5os+ozDZFoh582E661ExAL79Mr7WpGFMpIa+EGG2OunUwsAU+MOctjw Es2VWgpSexNyqZWpBM9Sa9H5Fa9oJiczwppRZQulCgh9oEDeeUSyn7IwYugoJSAq3CyH 0KJW+NXckJcgq3lf7dYLSIeekiCyaWqZq+3Kk9aEuHIqjAT45gXTKeoaTYsFn3EIo/I1 AtOFhzTG/mq7+dq8ELhJNt2AWy+SAhbqq5zObxXbwMdawcshy3MNMn9u3q+v7xZy7O5f UP0Q== 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=v4W3jJw+ROkgwXHqKIzjdq24CvhqsM8wSupBpy9Kzg4=; b=IO6JG1+53gapQ6bJw+zlzgO4xRtN528v43SFSN4/5AJxI0NecNKOrokgEj3VQywzX4 QsIpqC7WVBIAVqVPvLBpuIzYBLQxGJODUaWHzqF4iIpVPTFR7ZVfdrghRxS1XCL4/3bP MNKJ6ig+O8UrHJsVPYq4WJo2IxV75SmMUlixvnb66JeK2wh85AKGeg6XvWfoSyWT74F3 tKcgd2q5xAWBkUW1TNoTKmmOfwPuw8dQEe/kVaD9O6+2HqQugr60P3/d7RwNSbSWx8SJ Tx74ePkHKe5NO1IzqIrGsIuTX20mVOlCheV/HwSzddDuGzx6EB4D0aRiBJ2FfdcKxXGO t5DA== 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 f13si5054894pgp.666.2018.03.16.08.36.47; Fri, 16 Mar 2018 08:37:01 -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 S934090AbeCPPfJ (ORCPT + 99 others); Fri, 16 Mar 2018 11:35:09 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:39706 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934026AbeCPPfF (ORCPT ); Fri, 16 Mar 2018 11:35:05 -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 240E21065; Fri, 16 Mar 2018 15:35:04 +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.14 007/109] ASoC: rt5651: Fix regcache sync errors on resume Date: Fri, 16 Mar 2018 16:22:36 +0100 Message-Id: <20180316152330.232760180@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180316152329.844663293@linuxfoundation.org> References: <20180316152329.844663293@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.14-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 @@ -1694,6 +1694,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)