Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp4443501ybi; Mon, 3 Jun 2019 10:57:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqwialq35JWqqUlKBInB9F9FJM+VtBHsxmujlXRWfLyPt6FGRrq9JXo9F6KSi5Y+mZcgkGji X-Received: by 2002:a63:a08:: with SMTP id 8mr30162091pgk.46.1559584636549; Mon, 03 Jun 2019 10:57:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559584636; cv=none; d=google.com; s=arc-20160816; b=fN8vQ3R6jZ82WqvS2oykMIiRf/3Xv0SMK5U4PFtMCK75LP+Kj9TBzleToJYOHNRLMR lwUV1OmLT+e1noowUnt4qGIxfre3hdpMxyxh7AAyq+4nDruPnpOBMX39/DP7sUeEjwg2 0vP5j3fIEG1SoAdU5TlbocMIO+cKdvpHHKVM1r3d4Ke/Uc+7ov4OkFaYE8LeBub8gmfR TLLTV1eZlSm6SaWtyB6UBZvTeMCnXlY65PPBTMs75gfMBtmJVBSMJlJAQlVNcMqn96tJ IROrVZ4UTkqauM5/BD589ziao7z1iB1qvrsZIiy5UsdeYajYOHFp2N2VY4hOOVgEpTp2 qifg== 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=GjT900taG1ijSa9lWUX/G6V7gIXt/Ttjrhy2y92+ySQ=; b=Vrl7K6GSBwogZSZaAm8hJhILMChjj+wMq8piqCVSdXu9ww4BuJPhcO2U4l8CXlHygk hA9QctLQstIQsJ0fH6HfpBQO9HSFzsjz+YoDwU20hfDuf+AgqW1RwPgbdx/AXEHu0izn dDK/g3mct19AOcZ8YGd/cMwpCwK+SZO/kq6mdwL+hHKPhLl4OF71lSfZqSIV7A3um5XR ksMoamaG7ERgWh7nRTG0OODQVYPuuz9KYZmeivzKPVVn/yRxwTjapqEF6cvz1smr/isU sXgXe9eyEr2pBnitCgl8WlFS0tB9Ao4tKwvf6yRUbdvADULnWRGRKseJMy90F9CUFq4s ss9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Ogrh9eTD; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t9si17456263pjw.35.2019.06.03.10.57.00; Mon, 03 Jun 2019 10:57:16 -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=@gmail.com header.s=20161025 header.b=Ogrh9eTD; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728989AbfFCRrm (ORCPT + 99 others); Mon, 3 Jun 2019 13:47:42 -0400 Received: from mail-lf1-f66.google.com ([209.85.167.66]:37940 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727649AbfFCRrk (ORCPT ); Mon, 3 Jun 2019 13:47:40 -0400 Received: by mail-lf1-f66.google.com with SMTP id b11so14298008lfa.5 for ; Mon, 03 Jun 2019 10:47:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=GjT900taG1ijSa9lWUX/G6V7gIXt/Ttjrhy2y92+ySQ=; b=Ogrh9eTDgQAUONxtoCEsmlhtx9p4ZZt29kbWmmfagH5K1N51dWWiwQXBmLQshGR8J8 JaNQR+8WKr/MTf8K1xrO0Syb9jjiMj35sivUp6zm1jV3T/QuMpE6Dw6L+RD342txYebk NJV8ZHfOTYFNFDubmYUOXAbSAhy5J+kUkggW04A+6mKqqgGSxB3BC5kzw4qweIKUiWXc RWh6GQHeO7X8UFlW3a9oj4ZkCyHYFG6u8OIgykswrOARCeyPCclz+zAeg7NjyYx51bDx //dpzaNZ8IwgIk00p3O4Qkzp3RAjBuhVSNlUHZlOzqvOgVE12g4mWxUF53/MCmxYTpvE sw7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=GjT900taG1ijSa9lWUX/G6V7gIXt/Ttjrhy2y92+ySQ=; b=JjfPipyjCk/seOse13dgyGq8U+5dMtLl4b2YfJWJZ11tCzoxU0bwgkMg0iw+lCtN7n oDRxP73hv72Tzvw0N36Kl6Z7kxFTdjD7R0YVgFvPc21B4Nn188V2dZVBnUJVy86ukaOf RUdnKqQnSC5TZ/gZyWDTkI8ORFIW2TYA/k8dDEheO7WtZNeRKdz+KuDU8mFbVpXSpqyJ osmWtTq8eQtUiWAbF5zPrVhQTngqceYSpltArJE7+g/Li3JQP/1V8/LDH2eEt5NQIDA+ byXOqcx97gTcJrsCZo0nO/XqjEJHvQn9kOLsqQPsK4oLMhWD65WRIdsbOdNmw+EzkMqE acAg== X-Gm-Message-State: APjAAAW+QJVQJkNDJIPoPjkpx1YdgxWCsC5pc5VJpzqvt0ikmN3d/ky6 GeJkhOZYFVxW5Q3erZnuR8g= X-Received: by 2002:ac2:4c3c:: with SMTP id u28mr4407330lfq.136.1559584058502; Mon, 03 Jun 2019 10:47:38 -0700 (PDT) Received: from localhost.localdomain ([188.150.253.81]) by smtp.gmail.com with ESMTPSA id n7sm2803532lfi.68.2019.06.03.10.47.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Jun 2019 10:47:38 -0700 (PDT) From: codekipper@gmail.com To: maxime.ripard@free-electrons.com, wens@csie.org, linux-sunxi@googlegroups.com Cc: linux-arm-kernel@lists.infradead.org, lgirdwood@gmail.com, broonie@kernel.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, be17068@iperbole.bo.it, Marcus Cooper Subject: [PATCH v4 1/9] ASoC: sun4i-i2s: Fix sun8i tx channel offset mask Date: Mon, 3 Jun 2019 19:47:27 +0200 Message-Id: <20190603174735.21002-2-codekipper@gmail.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190603174735.21002-1-codekipper@gmail.com> References: <20190603174735.21002-1-codekipper@gmail.com> MIME-Version: 1.0 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 Although not causing any noticeable issues, the mask for the channel offset is covering too many bits. Signed-off-by: Marcus Cooper --- 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 c53bfed8d4c2..90bd3963d8ae 100644 --- a/sound/soc/sunxi/sun4i-i2s.c +++ b/sound/soc/sunxi/sun4i-i2s.c @@ -106,7 +106,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.21.0