Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1770303imm; Thu, 27 Sep 2018 02:09:38 -0700 (PDT) X-Google-Smtp-Source: ACcGV63Giwte/taFyDol4+ilPQa5DMslLeWRtaJL4c4LgcWhN6DHe83EOeXhuYYf8Q7UpVDq/ipZ X-Received: by 2002:a62:d152:: with SMTP id t18-v6mr10330634pfl.98.1538039378704; Thu, 27 Sep 2018 02:09:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538039378; cv=none; d=google.com; s=arc-20160816; b=GM4NiPxJhlDQiaEnyxg8rtuc3z+kPN020Drj2kT5PioO2dLl2d4NC4tf1S7Ck0U2SI +Jg1UmMlgIXtueCW3v3ReS8uTtDf9CVVKvc8CyBuu3K8jA+dJ6046/QM3IDHTbZozIDc hOdlb0ubmOom+oTCOzbEdGuXqEfu1yihH64Xj8GHenvnIRWK8yQkaSjTSj+4Zoxu4Y+A +4XWjQE0WBBoyQWxl2N2thErezTuJNp2tPT4zXnvQ63kYpMYsWzldBUilFtem98erpQ5 tpjj9ZBubEZUHxG75ic/3YTOByCn+TR7ttEKCDT6qkM0HtZjmhZ6Xywu4e5GEYqhJtu9 EG+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from; bh=7tMSV5Ttl74GsInfIxXLSAr7G91NPVVI/VwnyFz4LQQ=; b=I1qM6l6qGacQ6R1tZ9rnsCfOo38KCi/wBlWXIY9bgi4l7q60Ruo+sK7WsgAniph6WN 4atfNRxJcwhYOMfminoNJH5m5OmG0wjmEoUmvpFoqkccSp0sDxuUlxKXHfOl8CLeapPy oGjo2at+z99ZJwu5pRZlV46ETUgKzxBPs4UXB0zb6IGo9KgnAJTQABTougMlmDc6f6Yh OFoOX33PRcseAPLKdpixNeP6kEDCI2LLFyxgYgvI+wjmIoyVQ1QdS3+tysUxqYo4UGDu eGRIKIvuBnxy7UtfQSh8PGDTZYiTe1A+DuS2GR990O1sU84LcwHF5XzuEI6Cg/h7fYw9 wngw== 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 y137-v6si1821769pfc.343.2018.09.27.02.09.23; Thu, 27 Sep 2018 02:09:38 -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 S1728087AbeI0PZ6 (ORCPT + 99 others); Thu, 27 Sep 2018 11:25:58 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:54986 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727342AbeI0PZ6 (ORCPT ); Thu, 27 Sep 2018 11:25:58 -0400 Received: from localhost (ip-213-127-77-73.ip.prioritytelecom.net [213.127.77.73]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id EF5D61116; Thu, 27 Sep 2018 09:08:42 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, =?UTF-8?q?S=C3=A9bastien=20Szymanski?= , Mark Brown Subject: [PATCH 4.18 26/88] ASoC: cs4265: fix MMTLR Data switch control Date: Thu, 27 Sep 2018 11:03:07 +0200 Message-Id: <20180927090303.727998405@linuxfoundation.org> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20180927090300.631426620@linuxfoundation.org> References: <20180927090300.631426620@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.18-stable review patch. If anyone has any objections, please let me know. ------------------ From: Sébastien Szymanski commit 90a3b7f8aba3011badacd6d8121e03aa24ac79d1 upstream. The MMTLR bit is in the CS4265_SPDIF_CTL2 register at address 0x12 bit 0 and not at address 0x0 bit 1. Fix this. Signed-off-by: Sébastien Szymanski Signed-off-by: Mark Brown Cc: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman --- sound/soc/codecs/cs4265.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/sound/soc/codecs/cs4265.c +++ b/sound/soc/codecs/cs4265.c @@ -157,8 +157,8 @@ static const struct snd_kcontrol_new cs4 SOC_SINGLE("Validity Bit Control Switch", CS4265_SPDIF_CTL2, 3, 1, 0), SOC_ENUM("SPDIF Mono/Stereo", spdif_mono_stereo_enum), - SOC_SINGLE("MMTLR Data Switch", 0, - 1, 1, 0), + SOC_SINGLE("MMTLR Data Switch", CS4265_SPDIF_CTL2, + 0, 1, 0), SOC_ENUM("Mono Channel Select", spdif_mono_select_enum), SND_SOC_BYTES("C Data Buffer", CS4265_C_DATA_BUFF, 24), };