Received: by 10.213.65.68 with SMTP id h4csp489263imn; Fri, 16 Mar 2018 09:17:05 -0700 (PDT) X-Google-Smtp-Source: AG47ELv2Q6krW3Z12+OkfqMLBcFsqwXhLY/uexRrLYTSH/kW9mI7k2KAGlS28nQ912qBJq1hr3iD X-Received: by 2002:a17:902:6785:: with SMTP id g5-v6mr283886plk.369.1521217025185; Fri, 16 Mar 2018 09:17:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521217025; cv=none; d=google.com; s=arc-20160816; b=TtgckER3yxJ+/SHpzyiVMbDGkoIq4r/MKCJedOTOxHdlCaacgePdHP6VomvNlgrMuT Easqg4c5Ryx6bgW7z1RGLtA8oHLF9j20LoXXLwfKeTVKtlEYQIdJKNbLRLX+hOB0nA7p OEGwh5lOYm1U1J9YSBBT/sjdIuem//4Mvkg8Vhq17B+5PuZ62o6L7OgUF1Zq7rm03FUh PbkKHarD/fQHuyK2N8UpVj62ji+b54sLHGN9IggDC16lBlyKIt0eaPulnz/wNqf8hoC/ +x18EK0V4Y157VWiTjKpd4+AH3IdVDl2gNl8J9AgZmgkNNzidklHEyztubeI1lWanwEg gEbA== 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=2110F3GiQpu9HhuznlQo3MEIwW6eTIZT9aF6F3DUiRQ=; b=ay+dNGKBeM7VA+LoecPJcQyhQY3njm1lgjoyLjq20oWxGYwQaUtw4bNIOFl+ykXuJH QaePohwwurMJ6p424vLhtVXvcyOpqECyBDVNav/zXw0QM+vbHaqnik+2ughW0tXMrqFv 35XwA4tre5XFR3mrFTCwlxT+u+OTyqrpKnoDymHhVdFKvEHZIJTo6hHvHuzsoUNarT3y LJ5AWiK3YxeUYPXrZJo8yPEQS26PfxhoOWbVltU/GFbZFyw6EXMNgwTl9+PBYWgi1QkL ygz9qepRlwH5CLdgm8TLYLoSMT2YKBsv+bUEEaBNGC1NSHSDdWvSLw9gyoSZfXwLKprH ABkg== 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 u27si5676841pfk.241.2018.03.16.09.16.51; Fri, 16 Mar 2018 09:17:05 -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 S1754638AbeCPQPQ (ORCPT + 99 others); Fri, 16 Mar 2018 12:15:16 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:43380 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754631AbeCPPjt (ORCPT ); Fri, 16 Mar 2018 11:39:49 -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 5A505D4D; Fri, 16 Mar 2018 15:39:48 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Yong Deng , Chen-Yu Tsai , Mark Brown Subject: [PATCH 4.15 002/128] ASoC: sun4i-i2s: Fix RX slot number of SUN8I Date: Fri, 16 Mar 2018 16:22:23 +0100 Message-Id: <20180316152336.328780695@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: Yong Deng commit 5a3386790a172cf738194e1574f631cd43c6140a upstream. I2S's RX slot number of SUN8I should be shifted 4 bit to left. Fixes: 7d2993811a1e ("ASoC: sun4i-i2s: Add support for H3") Signed-off-by: Yong Deng Reviewed-by: Chen-Yu Tsai Signed-off-by: Mark Brown Cc: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman --- sound/soc/sunxi/sun4i-i2s.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/sound/soc/sunxi/sun4i-i2s.c +++ b/sound/soc/sunxi/sun4i-i2s.c @@ -104,7 +104,7 @@ #define SUN8I_I2S_CHAN_CFG_REG 0x30 #define SUN8I_I2S_CHAN_CFG_RX_SLOT_NUM_MASK GENMASK(6, 4) -#define SUN8I_I2S_CHAN_CFG_RX_SLOT_NUM(chan) (chan - 1) +#define SUN8I_I2S_CHAN_CFG_RX_SLOT_NUM(chan) ((chan - 1) << 4) #define SUN8I_I2S_CHAN_CFG_TX_SLOT_NUM_MASK GENMASK(2, 0) #define SUN8I_I2S_CHAN_CFG_TX_SLOT_NUM(chan) (chan - 1)