Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7151470ybi; Mon, 8 Jul 2019 15:41:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqwEBgqZd2qfAC51EcjSz1lq8Afxg++FZ62GMLxJ6HbvLToHMFjHvSMLebni83q7RrTS+ByV X-Received: by 2002:a17:902:8696:: with SMTP id g22mr27225135plo.249.1562625661159; Mon, 08 Jul 2019 15:41:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562625661; cv=none; d=google.com; s=arc-20160816; b=hex/jQQmJqluP7FKJFO0hnpjqKORxbDaXgquxQhFKUHw2BVERxu9EyJCeNRUTOWU1U JtxXDCE/kU5YWYqIcKyfmNu/bvpTMcOiAZ7zK+G0N53Lf73DMXTLedEVUcNrVhO0/HLx Tpnv3aNP40UYE5BzHnKfRYggSpkMEkqeatFg1JW03HIeknQr+Y1siw5Rt9dxYoZ/u/RZ Ci9wO8Z9OWng3qBSnkObuzizRRrEIB+4fjlzXwqh3ihmc9ejZ4+DmJ4Y3J3Qwc77CGzu XYonlI1HUkudVjkqj1y5P3WonB6ab5LbQxszqlZR6kzaa+RimLwN8Sk0EILIR15c+KhP gnIQ== 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=IZ8ja6ZTN0k/Vqn2IRHASEFy4FT+6qvMlvTy2E7ODnQ=; b=IF5HBaAG9cKs8zco2hmUeBHeuL5lcnp2doQ/yCPQiyTg9pWNzGRqYuoaJSDWTOcGgl 1aSzN/yfvNxgEGHFVYgAg5t+ggPzxOp13oOkoOfhT/rKeESLaEitDKxpxlDvlvUTbmCY gFS620a4EUy6Ea37HZ3Lg/OS4Fs2szHKM0FuyJVXROQVjlzNnpNOLrskrzyznHK2T9yi VkGVDKDtGdg8LHgPUJux+MZfte+nS8wHrIR5K+CG5h5R3bZmy9SDprlD8fUxE96Kn/gc qg4YlJHIWWN4OfNfPqSWteJklR+DWbqnSMN8qQZjo6p24EF/cFBMq5HkqwogSKR//9bX lPMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=XZMAXxh5; 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 y15si20040326pfe.133.2019.07.08.15.40.46; Mon, 08 Jul 2019 15:41:01 -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=XZMAXxh5; 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 S2391011AbfGHPlI (ORCPT + 99 others); Mon, 8 Jul 2019 11:41:08 -0400 Received: from mail.kernel.org ([198.145.29.99]:54820 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729691AbfGHP0y (ORCPT ); Mon, 8 Jul 2019 11:26:54 -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 C5D02204EC; Mon, 8 Jul 2019 15:26:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1562599614; bh=v9BMaOIELmYetsorbCPRZDv9T7/WaBkmSBJB9i2b5Do=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XZMAXxh5Q1j3V2Px+J9jNxw8/XK0oudZMlz+P9DIBRZEtAJSHGFG3BiIdAT/sNjtC 8obYFzlAhXfMi1faBd1RWZDTVCax5NubSVR/rd5aeOVkCLEOcCldKPcnNZz83cGIs1 7mr8eG7dXM3q3rR0a4zypsqIsybsJLhoV9UsCIYo= 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.19 19/90] ASoC: sun4i-i2s: Fix sun8i tx channel offset mask Date: Mon, 8 Jul 2019 17:12:46 +0200 Message-Id: <20190708150523.605680253@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190708150521.829733162@linuxfoundation.org> References: <20190708150521.829733162@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 a4aa931ebfae..5750738b6ac0 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