Received: by 10.213.65.68 with SMTP id h4csp507119imn; Fri, 16 Mar 2018 09:51:31 -0700 (PDT) X-Google-Smtp-Source: AG47ELvtfF+LOToTKxZIztqSl11yUG2cTiK/Q8KiXp5Qkym25r6PjkqeZreSjWDYPagqqBDwxqm2 X-Received: by 2002:a17:902:6909:: with SMTP id j9-v6mr2802962plk.5.1521219091571; Fri, 16 Mar 2018 09:51:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521219091; cv=none; d=google.com; s=arc-20160816; b=0TtoxJig/LSsuoAjYKxfg9I+JlEez11WUb4Tsyk1NpcIj/V/WY/4lgxrHoOgT7bl5g Mc+4hg1NcBNfqtulSCA0iPAGa/MmMkqd9Dc8NaVEBg1mbYEtINxpV6VxxGObsGNFC+BI FHbA250zkZcvQGxPn09IBZh+U/hKhukrzs0u8Irb1JPkQtdhaqvSZnpCZgJqaSZBf06O 3qLzgiNDfuIUAHVWwjvTkqhAY7WYVfQuUAFcMrcYW6t0uW2tUvSHGeBQLrMvXi7bQfxU +rY26ZCXCja55bRf1NZN3tkmxMRUsyyzPZWfh+WWMIfwIauDDfdG89ZPjBtmNVRC3WEo zjSg== 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=u2AjiNaiaBL8cVsjpxg06vkQ2mdN+NXvCBNgwEbWcXk=; b=MDpc9k+HXs9eX2U6NqpcS8UTl0MHSBiv1u0eo7ygAxh8lrYxf/Morsd5fsLlLtpWen 9ACUb3GVyPleTNAwuWR2STBfsEkhMHL1wvtLra9V9q7ntQuTwqAVoLJzNzM3qpgebXd9 +n/G348AboJuRztvlvYmjXNnyp5QzQhUGqbePXv6kvywE4eRD2WOkIFQu8GZiJMiMvtZ 2uTi0HpFgnQEtNQTLVIiZHw7dbv8dYwoJYIYbjlC1ViwIn+zOELGdB+OVVhcD3Hcccym 9K1jm7cTKwNTz4sToF2Q5kw/p3AoUAxNxBjwGfeWfW5+TuXjb+v1FksI6V4nuI7NKAHh DalQ== 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 w9-v6si6296318plp.425.2018.03.16.09.51.17; Fri, 16 Mar 2018 09:51:31 -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 S1753162AbeCPQtz (ORCPT + 99 others); Fri, 16 Mar 2018 12:49:55 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:39668 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933316AbeCPPe5 (ORCPT ); Fri, 16 Mar 2018 11:34: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 689B71065; Fri, 16 Mar 2018 15:34:56 +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.14 004/109] ASoC: sun4i-i2s: Fix RX slot number of SUN8I Date: Fri, 16 Mar 2018 16:22:33 +0100 Message-Id: <20180316152330.074643729@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: 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)