Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2862999pxk; Mon, 28 Sep 2020 01:57:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzLVld/29vzh1e0we3wqxRzzEgD7rlKVSTcPHmP/Dkt3gc85Cf/H7GQjmCXiD/MvWWA+iAe X-Received: by 2002:aa7:da89:: with SMTP id q9mr542206eds.111.1601283449739; Mon, 28 Sep 2020 01:57:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601283449; cv=none; d=google.com; s=arc-20160816; b=MdUBFoC1ZIHG6AgXXL2kVMUMmMS8QTjsFxFf6fdK1jJ3xvD6QkBhc4iJVzpZAiwTQ9 HKlg3X4YgdtlMCYm2VxJVCbmJXFGUydKfCsqt+y3Vg9f4ZVvNswzq1vidRp+XTbK4qjh q81RgfP9RbK+VAarIqrULC7f/Evs37vWzH01RmeiB/gHPUVdVXxJYYhNs4YJqjcrB0gB shRtYnq3QEzN3sS5umTedLiSknIndImADNOp3gHDVxYEVC2uQltQopmg0Y3oCcQpzGTE ZT0HVi1msUdN+Qh/dO38y+bJua/cf+E8je19Ja42T1uR5AgjDXdWkkFba1WLV9tanHlW BN+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=wUSUu2G3aVIryWaeA7vOSq4b5ntZ2lJ4mb84/YsXOuI=; b=SJTbVHpfb6NLscKRhUqG+GAlB/RPqus0HvudE/VpfIHRwTUa28DhCwtRpR8Y8BkdA3 ubdW71zYqt+2WNBS8ULX64Nos/DEscsGkFUpzcR/86FbT5NgTt78LchqPiweHEFvgKhy 4So/4amKyAjWvp1PEiReIZOCFtNsB+R+POQHeGSHxLT3vr9OXRgthhw2++SHAjL6Nced hi5pCls+8WSuAaax2A7UcXH91AUHEqf0AQ24ja3CmE8q6S/B/Yr6WLMi6zzRyFe0DvkT hmMrN5krD7CE/UT8HV3eltmzSWkqCPieo6a9y05OUkhnhgX0dRKSVBStvC4Ymt998dTV K5lQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm3 header.b=WZM48iBF; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=A4aQVk9q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cerno.tech Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 23si172318edv.417.2020.09.28.01.57.05; Mon, 28 Sep 2020 01:57:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm3 header.b=WZM48iBF; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=A4aQVk9q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cerno.tech Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726651AbgI1Izz (ORCPT + 99 others); Mon, 28 Sep 2020 04:55:55 -0400 Received: from wnew1-smtp.messagingengine.com ([64.147.123.26]:48547 "EHLO wnew1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726440AbgI1Izy (ORCPT ); Mon, 28 Sep 2020 04:55:54 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.west.internal (Postfix) with ESMTP id 58758B74; Mon, 28 Sep 2020 04:55:53 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Mon, 28 Sep 2020 04:55:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=wUSUu2G3aVIryWaeA7vOSq4b5nt Z2lJ4mb84/YsXOuI=; b=WZM48iBF91gdKnDjQ7uhJ0/RIFRw5RhXsOOeZlZJCKo ysOwTqjBtlBCZj08M9nF22EmaxFAVEoLPCI8HL/0jdPlzcH2YFICniXpCoLiPtqH VpOBH47bt+ui/2YfhU/yW5VfSsau0KQrKRpIe0o0c/LA7MH8NR/XbJViG+pkL2jD B/g/l2T60cdiT268BZyz1XUMfVw55IQig/jerb/vptjxlA1X6M9x6a83g0v0CBK5 Bmmq1FDcnqounb0O4rwjBb8ol1ZrgQbcaIJowXG8EgIrm6mkVObuBjZaEx3BtVfa XrLcZKvTOl2wgSLOTL7PgfwIArfBy2SMIZW7HfyAtbQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=wUSUu2 G3aVIryWaeA7vOSq4b5ntZ2lJ4mb84/YsXOuI=; b=A4aQVk9qURplYZemoSbP0T EUoSZyu6BP+ZXw6FNbxPs0GVkLXlfle+zceapwfhWF20BfQ34PdGbXpWpcwdus8w T8ByrOAMTp9PAVFOq7Dw8hBc+2GLY+/0ycOmDjNEUvrO37DrvgPHjPIMrlXu/3SH 5q8/uU/TxEl/IcgFyNTAaaq99scwACFHzeUlUBgrJI8c5BAIL7QKXasqfwACLnP3 OKdCTsL3Z0OzDIGDuPBTeNGz7iGRXdtW0uJDyfeK4dvfUEvLgEi//GS+qrpG9FgJ z2gTBIwFOb2DHf8rlSu69xN17a5yR33Xj3A8eP4bkmOVhqRwYRi/uXVd98IT2DcQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrvdeigddutdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggujgesghdtreertddtudenucfhrhhomhepofgrgihimhgv ucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrghtth gvrhhnpeduvdduhfekkeehgffftefflefgffdtheffudffgeevteffheeuiedvvdejvdfg veenucfkphepledtrdekledrieekrdejieenucevlhhushhtvghrufhiiigvpedtnecurf grrhgrmhepmhgrihhlfhhrohhmpehmrgigihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: Received: from localhost (lfbn-tou-1-1502-76.w90-89.abo.wanadoo.fr [90.89.68.76]) by mail.messagingengine.com (Postfix) with ESMTPA id 50723328005E; Mon, 28 Sep 2020 04:55:51 -0400 (EDT) Date: Mon, 28 Sep 2020 10:55:49 +0200 From: Maxime Ripard To: =?utf-8?B?Q2zDqW1lbnQgUMOpcm9u?= Cc: Chen-Yu Tsai , Rob Herring , Mark Brown , Liam Girdwood , Jaroslav Kysela , Takashi Iwai , Marcus Cooper , Jernej Skrabec , Linux-ALSA , devicetree , linux-arm-kernel , linux-kernel , linux-sunxi , Samuel Holland Subject: Re: [PATCH v4 02/22] ASoC: sun4i-i2s: Change set_chan_cfg() params Message-ID: <20200928085549.izpgwdtkq5cwa4ut@gilmour.lan> References: <20200921102731.747736-1-peron.clem@gmail.com> <20200921102731.747736-3-peron.clem@gmail.com> <20200921122918.kzzu623wui277nwr@gilmour.lan> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="z5fpfx6vrqwdiuav" Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --z5fpfx6vrqwdiuav Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 21, 2020 at 07:15:13PM +0200, Cl=E9ment P=E9ron wrote: > Hi Maxime, >=20 > On Mon, 21 Sep 2020 at 14:29, Maxime Ripard wrote: > > > > On Mon, Sep 21, 2020 at 12:27:11PM +0200, Cl=E9ment P=E9ron wrote: > > > As slots and slot_width can be overwritter in case set_tdm() is > > > called. Avoid to have this logic in set_chan_cfg(). > > > > > > Instead pass the required values as params to set_chan_cfg(). > > > > It's not really clear here what the issue is, and how passing the slots > > and slot_width as arguments addresses it > > > > > This also fix a bug when i2s->slot_width is set for TDM but not > > > properly used in set_chan_cfg(). > > > > Which bug? >=20 > Do you mean my commit log is too short or is it a real question to unders= tand ? Both, actually :) Maxime --z5fpfx6vrqwdiuav Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCX3GlFQAKCRDj7w1vZxhR xYJzAP90E3Ebs8ekSnakjeM+AFop/3Kt5use/kVDKsSr/V2JlwD6A8+jug6YBRDY 7kZEe3Y1iUyb4oLqEpjNxunahn+yfQA= =0O29 -----END PGP SIGNATURE----- --z5fpfx6vrqwdiuav--