Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7148571ybi; Mon, 8 Jul 2019 15:37:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqytCqN2veZ2jhIcDnyZAfak/5rI+G7fKgsvT/sXLOCpd9ER9G6XZ0BqeIB2yUgIyniikMY7 X-Received: by 2002:a17:90a:9488:: with SMTP id s8mr22348383pjo.2.1562625428716; Mon, 08 Jul 2019 15:37:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562625428; cv=none; d=google.com; s=arc-20160816; b=IO1/0A8Qvk38/tM4H5dzcZUC1pyMqKIQLk+AR1PtzwxNOtZhjFfqovx3/NqkfgKMgG la245vuxO8AEMKCqH/D/NEFWTErba/wtHl0aq2gPNAy60gCO5YX26JiRG8VbV8i9Cfkj /2EwbMSbxlRoc/Q1nGYkyZqPOHCKrUZtLmx4AAbEqRPtBN5J0xbbrdIiJYGRpG3iH6sT WFSQZQHNv/b6WFd0Lvc2aytEkU8rsN8Ux00EPwYLlT7vgOfmxrxRKwLfy297YusBXM+/ sdEdLkzI4axv6IpeF/v95LxGV5J8F3qzCkGl8zCQD9iC1ySJFW64hauhp4ZIUA/92e8F YYgQ== 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:dkim-signature; bh=5G79HFXCihpm6IxD52w5oGGp8OHESXl01Qc2m0H9BVU=; b=an6X6Gd+vwl/Grk/oXkUKm2Yx8ayMvJ1Il85gqxI7H4yYiz5w0XNQSOFMu8ZVKmz3V RiZOq6SQmnwoVw1WNJMJ8zi9RfUX78XiiGGbUj+eW3m0YknxpP+HzxbGREsbkf93vZBZ z5LKYijQYt8JqxQ2gdvuV6BNecVUqyII6D3pb9rtCO2PzOcj+ThvgeSxnIx7Cne8V89q I8opk+TjpaRTKGIWA7k1m7/JiZO+O0c8JnqQMhfhkKYzOiWTNjNuGsr7zd57Agn2Cu46 0l/mgwP30LJWXrb+jgyrOqbtEUwybts8xWms34b6EvD8Z0G7tbadSH0dkBLZyHStNZ2Y FNpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=JxQIlx+2; 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 v3si21181982pgb.234.2019.07.08.15.36.54; Mon, 08 Jul 2019 15:37:08 -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=JxQIlx+2; 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 S2388542AbfGHPZE (ORCPT + 99 others); Mon, 8 Jul 2019 11:25:04 -0400 Received: from mail.kernel.org ([198.145.29.99]:52368 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388538AbfGHPZB (ORCPT ); Mon, 8 Jul 2019 11:25:01 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A2F1B2166E; Mon, 8 Jul 2019 15:25:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1562599501; bh=h7dxYQZZoJDmLEaLirceWiPTOe+djBBoPaO0SnvyirU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JxQIlx+2bveoPeARpzf8c8MIDJWTgyB2Q+dXwAd6pz/gjeVOO0DN21Y3pZwhupl90 F3o62KIU9XDeK7KfwioSDLja3HbOfbf8Skz/KG+foHFxY1D91dLoihQ67sf0BBppbf yDHPqlVuYl9Bi+cA0Q6iVCUya8BMsTXnur5oiK/4= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Marcus Cooper , Maxime Ripard , Chen-Yu Tsai , Mark Brown , Sasha Levin Subject: [PATCH 4.14 09/56] ASoC: sun4i-i2s: Fix sun8i tx channel offset mask Date: Mon, 8 Jul 2019 17:13:01 +0200 Message-Id: <20190708150518.661098702@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190708150514.376317156@linuxfoundation.org> References: <20190708150514.376317156@linuxfoundation.org> User-Agent: quilt/0.66 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 [ 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 b4af5ce78ecb..a10913f8293f 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