Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp4359767ybl; Tue, 20 Aug 2019 10:41:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqw0j7zZ5W7S7yruv8sVr3uX3MuCGkIeMhkIX4dUUrdSQ4eKg/+QYHzljRDGkgQ7fARl2UKb X-Received: by 2002:aa7:8a99:: with SMTP id a25mr31352898pfc.127.1566322888858; Tue, 20 Aug 2019 10:41:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566322888; cv=none; d=google.com; s=arc-20160816; b=Wi5gOfwRBJVX+LUsf9PCGd5DyqG8HVh4exc5Qr6EPQZpOPKfMbId8e1GJenaZ+tUAS plL2WnsnAeaoLK1/uP8BYhc0ObJGNLSTXcUA4y1NbMWvEBX4eVYOP5MUoa+1zQXzObCW gCd5zNjtkuwaTw1Ga0ApM9lyRbOrawCRgEUONgiljE5+RslqW5y4yGWqeQa2uD/Cg3hH U/cwWdmeHv2nPoYnJCSZjszAkEUc+BcPjlcWXTo/VILOG7a7b3EYMjtxkySWLZMEW7Pg BZQuIJanK6bzWHr0aPmqiSBEerrTIOQuhz3N+1PwwoRMj7Oft9DMgZwkB1F8Ui5qCiLY gk5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=m7ao7ORH60h0tFo771t8XxOyJrM0P+fZjWuoPCMruUU=; b=pMn6ZjtiDke/oPL795/Fh0WgEoFusgJDBOeXxU2U3V6svUznUPaX5usrHYyZYq63p9 HrnklYH7CNYiatm2X0gsFNWHUd4QgVjQ/fms02liXEENzdWIckZA4P4ByMoQtqH+b/R2 VVGrt0l5iAV0oDwibpwxwn0LnA19ruS7fhL1V3BY9hKsxE8sfjEuuD4q+ZIHMQ2JjHHL u0IU4eomxho9Ev7AGkZ8nP8gxdZ2cC6WHjY2tqfY+Px1DRpZ5+3VHlLlJ472biB3Gpg7 u1UsK6e4y0XCPUZpKhs5xjHctEemXue2KESkeCnDMTiKI3bg8UGnzFQK0UcwT/SQQaud kqjA== 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; dmarc=fail (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 q15si12399462pgt.150.2019.08.20.10.41.12; Tue, 20 Aug 2019 10:41:28 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730267AbfHTRjG (ORCPT + 99 others); Tue, 20 Aug 2019 13:39:06 -0400 Received: from mail-wr1-f97.google.com ([209.85.221.97]:38662 "EHLO mail-wr1-f97.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728277AbfHTRjG (ORCPT ); Tue, 20 Aug 2019 13:39:06 -0400 Received: by mail-wr1-f97.google.com with SMTP id g17so13288888wrr.5 for ; Tue, 20 Aug 2019 10:39:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=m7ao7ORH60h0tFo771t8XxOyJrM0P+fZjWuoPCMruUU=; b=TOGKcirGshBV3cwSO/PBKAw9E4ZQPPspTl5gOgrpcuh1V22vvyW/7/ZIV9UT09lcjA 2jtCAuu2noWqe1HGK4EOATbx6wqzzpwBlXU8NwRYZ6nSzuvQpiz5gkqVHXHQt5iDbajP ebKpSsSNPIYZZKzCebTSaMu+CQ3Zk3uCAtJzGPznBlKk29In5adidyVw5KyP5KkejSkQ nHDp2jdPmDWHDarFoeboMp2WpVyZmpwmgFEPkQyCicOT0ZwHiSSjwGP99IEAJgpsK1gb HgPhbcoAkDsm+DDhvgYS8J7TfApXAl5GjmnMtiTXFA3JTKPemEUQcdzxZ/i0NlBoEgMp /mKQ== X-Gm-Message-State: APjAAAUBCX+3u6FaJ2/gW2avTYxFIYsOwpq61OiWOHwEO6/10WspjL5p NQSVWxf/ekhkQQjxLUHWdHUwa0yF25MHx/dox1Cxy4exeE3DGMMoh0oMS6XZAiLkMw== X-Received: by 2002:a5d:6307:: with SMTP id i7mr36464585wru.144.1566322744775; Tue, 20 Aug 2019 10:39:04 -0700 (PDT) Received: from heliosphere.sirena.org.uk (heliosphere.sirena.org.uk. [2a01:7e01::f03c:91ff:fed4:a3b6]) by smtp-relay.gmail.com with ESMTPS id f9sm2448wmj.34.2019.08.20.10.39.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Aug 2019 10:39:04 -0700 (PDT) X-Relaying-Domain: sirena.org.uk Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=ypsilon.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1i0864-00031g-Cu; Tue, 20 Aug 2019 17:39:04 +0000 Received: by ypsilon.sirena.org.uk (Postfix, from userid 1000) id 593B12742B4A; Tue, 20 Aug 2019 18:39:03 +0100 (BST) Date: Tue, 20 Aug 2019 18:39:03 +0100 From: Mark Brown To: Maxime Ripard Cc: Chen-Yu Tsai , lgirdwood@gmail.com, alsa-devel@alsa-project.org, linux-arm-kernel@lists.infradead.org, codekipper@gmail.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH 11/21] ASoC: sun4i-i2s: Use the actual format width instead of an hardcoded one Message-ID: <20190820173903.GA5702@sirena.co.uk> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Dxnq1zWXvFF0Q93v" Content-Disposition: inline In-Reply-To: X-Cookie: When in doubt, lead trump. User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Dxnq1zWXvFF0Q93v Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 19, 2019 at 09:25:18PM +0200, Maxime Ripard wrote: > regmap_update_bits(i2s->regmap, SUN4I_I2S_FMT0_REG, > SUN8I_I2S_FMT0_LRCK_PERIOD_MASK, > - SUN8I_I2S_FMT0_LRCK_PERIOD(32)); > + SUN8I_I2S_FMT0_LRCK_PERIOD(params_physical_width(params))); This doesn't build for me: In file included from sound/soc/sunxi/sun4i-i2s.c:16: sound/soc/sunxi/sun4i-i2s.c: In function =E2=80=98sun4i_i2s_set_clk_rate=E2= =80=99: sound/soc/sunxi/sun4i-i2s.c:360:57: error: =E2=80=98params=E2=80=99 undecla= red (first use in this function); did you mean =E2=80=98parameq=E2=80=99? SUN8I_I2S_FMT0_LRCK_PERIOD(params_physical_width(params))); ^~~~~~ =2E/include/linux/regmap.h:75:42: note: in definition of macro =E2=80=98reg= map_update_bits=E2=80=99 regmap_update_bits_base(map, reg, mask, val, NULL, false, false) ^~~ sound/soc/sunxi/sun4i-i2s.c:360:8: note: in expansion of macro =E2=80=98SUN= 8I_I2S_FMT0_LRCK_PERIOD=E2=80=99 SUN8I_I2S_FMT0_LRCK_PERIOD(params_physical_width(params))); --Dxnq1zWXvFF0Q93v Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl1cMDYACgkQJNaLcl1U h9A5+wf/R8kszzb6oMjGJWYnQJj4y8zrub+Ef7frMS3FakQtrfpNijxNi57HOXai jJvL1rK1E89FeYJlt5rPq9DJGlWe8dS9dMvhuz7JhsYl5cn+8m4o1LoUbH6Inv5k 95bWW3IC9IBXhd6MiQwBZZpZ79T1UjHu9UfOF5dOEQ059wu8JCYvA0y/PzyH6kq8 w1MO/wGVaEHT/DMsAs66Mp5/3Ju8DAn9ZaE7ZhrgIsBphf/P+/BZHPU/pQjFEVag f0ayDyQwRU1t26KvNeIRQpnUXV/N7ZF7j/uQ2mUQDTPjViBLS0uzUw/5bklcAT24 w+0X+AVImMFg+yfuBP7oOP25UCjzbQ== =C0WO -----END PGP SIGNATURE----- --Dxnq1zWXvFF0Q93v--