Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp249627ybd; Tue, 25 Jun 2019 20:43:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqw771kG4jzgb68dUm9ZM4ns52iNraP0Km96EtglJQskQLGV3gqMHHIADjlp2Dk9rG5gXD/d X-Received: by 2002:a65:4387:: with SMTP id m7mr552582pgp.287.1561520625871; Tue, 25 Jun 2019 20:43:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561520625; cv=none; d=google.com; s=arc-20160816; b=p/Pz0ZjILGH3llvU/LhnTn9+FFiLq3javhbnwmZBKUgBk3wFmrYC7ucKn24bl+cPHT fLVxVe7ck3BwFOZ1y+Fd2kRCKRqxZnovuE+Du/cDzf23Q57fwomCyq5Ljryf5eYBprLf eZ345Z478SohlFeAf7He/zjwHSftJiDY16ipIaCE5qbWTxTFCBHbmnL49nfHxhbG9jEC XkYdyj79tJ8PtLaH45cCAfTfEdqTN4O6TaOtp8A9giCJ+NzISDvBZ0E04j+f1eWeuaV5 1OhPJHyEf2TSHuIpNuU5bsxNQhUMhCHDesIspDxO6QvO+ql6dCsCDz2gOlJHS9gL7YW2 qHOg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=rOGe8v21MZBZIPnYqeVfAVCaqtX5MDqSQClvvApP5aI=; b=Ba6NdO0cpO4Els06wVD928mDE6+VpM/kNUgPCkjHOxBZWZSPvUMfBrmIop44uz6cjN 22M+micWeAuTSPDmvscw+74MJ7w8eMFVbae0Iou/toHlRZl4gi7c/ySH/LLtbJdzXyf8 XtHkZilhmZ1G/AoACbS5kpwIcM7OrGtsDKaocIDpV+GASdWxWjwyEGw7Gyj65rEl99n9 R7jVrlW7Hh9gMwmWy/0X+5d9o003uUAe5R+RcQuW/fw7mlzn0V8w+L7JCKPGVQG1AmQU HlbeGMSZB+uw7Aj8nDxsLDI6ZFj7Ku/wi5B/ixnQ4XsbJ1vbmxCnnbSqpay/+9QX3RJC mu1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=COf40SBj; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f92si2189099plb.330.2019.06.25.20.43.29; Tue, 25 Jun 2019 20:43:45 -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; dkim=pass header.i=@kernel.org header.s=default header.b=COf40SBj; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727047AbfFZDmS (ORCPT + 99 others); Tue, 25 Jun 2019 23:42:18 -0400 Received: from mail.kernel.org ([198.145.29.99]:53040 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727017AbfFZDmO (ORCPT ); Tue, 25 Jun 2019 23:42:14 -0400 Received: from sasha-vm.mshome.net (mobile-107-77-172-74.mobile.att.net [107.77.172.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3AA2820883; Wed, 26 Jun 2019 03:42:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1561520534; bh=6/ZiWJSBebSawAlMN7MsDgFghpEKqtHXbZ70zuy5nDQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=COf40SBjO/L2oDrxr4BmHkV6av2Z1y7TJcwTpsdswpyfWgi1e2obfb7iue9Ulixjn noM/AvE4X3erdJmXUP9gfqvC/zDC4lplXF7/H/4fCw0l3i9qnLXKhfNaa6sjd3bgAB S9AH0BdVggfW74H02SXiJwTYAV0FMB5/340HsxxE= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Marcus Cooper , Maxime Ripard , Chen-Yu Tsai , Mark Brown , Sasha Levin Subject: [PATCH AUTOSEL 5.1 21/51] ASoC: sun4i-i2s: Fix sun8i tx channel offset mask Date: Tue, 25 Jun 2019 23:40:37 -0400 Message-Id: <20190626034117.23247-21-sashal@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190626034117.23247-1-sashal@kernel.org> References: <20190626034117.23247-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Marcus Cooper [ Upstream commit 7e46169a5f35762f335898a75d1b8a242f2ae0f5 ] Although not causing any noticeable issues, the mask for the channel offset is covering too many bits. Signed-off-by: Marcus Cooper Acked-by: Maxime Ripard Acked-by: Chen-Yu Tsai Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/sunxi/sun4i-i2s.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/sunxi/sun4i-i2s.c b/sound/soc/sunxi/sun4i-i2s.c index d5ec1a20499d..8162e107e50b 100644 --- a/sound/soc/sunxi/sun4i-i2s.c +++ b/sound/soc/sunxi/sun4i-i2s.c @@ -110,7 +110,7 @@ #define SUN8I_I2S_TX_CHAN_MAP_REG 0x44 #define SUN8I_I2S_TX_CHAN_SEL_REG 0x34 -#define SUN8I_I2S_TX_CHAN_OFFSET_MASK GENMASK(13, 11) +#define SUN8I_I2S_TX_CHAN_OFFSET_MASK GENMASK(13, 12) #define SUN8I_I2S_TX_CHAN_OFFSET(offset) (offset << 12) #define SUN8I_I2S_TX_CHAN_EN_MASK GENMASK(11, 4) #define SUN8I_I2S_TX_CHAN_EN(num_chan) (((1 << num_chan) - 1) << 4) -- 2.20.1