Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3105503pxk; Mon, 21 Sep 2020 05:30:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwv1/Lmux/s10ZxUicgkSNbdbXE6uOwu6MZwwncX6I2RHqEDdvijdcMbSPiUn52aHlTMHrh X-Received: by 2002:a17:906:370a:: with SMTP id d10mr52282011ejc.393.1600691445848; Mon, 21 Sep 2020 05:30:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600691445; cv=none; d=google.com; s=arc-20160816; b=y+NwLLzP7QY+ZJ+Z8zeb6QYWpqZXLysqRGxNQr/U8MIRfA2B+p6RE07n9eBEsPzzyy v87iE+cQOGuDDlf6x/PPHTmIKO8A8u3j9ReonnAT3kfqY+9pbvG/f5ldqIwVIRl10QG3 P9Xt39XSWPtlP3zcBSa6WvIxY4fJyNHJvzFF+xOr5sYahYDAMd8ncbAx7/0HoHEjJx7n ZMklz7sG3JgSoAeCnMte1F+gea7JJBawzL5wq8b/4/6EBNb14XYM507bBDhbTG0fA5kH NPFPOpX6zCXhIkJVabRj3D9cCmPfMrEY6o9DGGQfSjs7RZO9+ig2wGVkVTVNWvGxksyY 2W1w== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:dkim-signature; bh=RHKQR7CbzI0F6ZRKVieWVWj1G/b0kU9KL/lrLU/cXIE=; b=Ob5GRpm1Yp5ZjIWdm8HK5HF6zHbK2Inqba8uHi7+ftjyNTg98v/bMmG5x+BCyWqNSH raV4FXRsN5V+obp4jYIzHhEFr5rSyPIccaSm3Fw/POWyjJpvUusvg0xtYTBPgRcHFBOp sJbVQZntrA+auhjKSulgKPPg31YbbBXEi3Czk5MT5khv7xpQ8b40bgm1JdnIYEw69NKU NqRFBRYtK8VVX2cLfAB5Pv3NkESvkydwre+IY/l02wA3R1ECa1womLLJOdyvRpKaDDmZ aMEZrgdTlfwRrR4JKoUA3Bx/+umz+X5FqgTt0WAjQEOI98CnA30eaQVQmuFCm6Es8Q6F SpDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm3 header.b=BmH4loHf; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=uCP6Fvdb; 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 pg3si9262813ejb.94.2020.09.21.05.30.21; Mon, 21 Sep 2020 05:30:45 -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=BmH4loHf; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=uCP6Fvdb; 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 S1726460AbgIUM3Y (ORCPT + 99 others); Mon, 21 Sep 2020 08:29:24 -0400 Received: from wnew4-smtp.messagingengine.com ([64.147.123.18]:56759 "EHLO wnew4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726375AbgIUM3X (ORCPT ); Mon, 21 Sep 2020 08:29:23 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.west.internal (Postfix) with ESMTP id 46BABB57; Mon, 21 Sep 2020 08:29:21 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Mon, 21 Sep 2020 08:29:22 -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:content-transfer-encoding:in-reply-to; s=fm3; bh=R HKQR7CbzI0F6ZRKVieWVWj1G/b0kU9KL/lrLU/cXIE=; b=BmH4loHf/twmMvruG h+1fAO/CvxSkfl44OnYhWxEx9nAlNqB9xc0MBQipOjf3YpW9p4Y2UxFv5u1jwwEk 7itf8mgtLdyHUTNFAlgVz11YQvxeLAMdIXXbcBdiSvpXLoJ4iL8W4GXRL2AX9l4C w4d/8tRbIVhEJUimi7VoZszz/9dNSk/KQ/rw/7NHU0LJq6ICr2MalqxmZHNtvdCO GoS/5WX4ZxAXn3mj+IOgBmejzXi9Iydb/8cyfzXDvqVbHQeTJmGoEOEXwWPEAOmp MTQ3yIHAKIweDxETUuvLopmQ+JEaX7JiLaADyZS4QitYgrwa7a+/18eOkmQ8RUDM +Dfpw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding: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=RHKQR7CbzI0F6ZRKVieWVWj1G/b0kU9KL/lrLU/cX IE=; b=uCP6FvdbREPriWo7tBN7COrxikiM1temZ9SQ7f1vnlWJXXvpTgR8/9WKF kGwplJwffLMMZMU3LkW4bYkyd6g7UFI9QfVFjeAJjXI/SRHxXt3Cet9h5D8+gfnF OukGuVCqfRLO46NtvgMf/Rt2q6Vl4DxvzUFlQLq5CfjVCkYbMLCPv961KFo4RiMh ARu2F1aqKZfZaXxMvQx8XhOmZKqk7TSCFEzY102TvWsSUKDor6w+NO2M5GZABkbO XXF1vINgJBGIMsRMFOd4simfgjl+K3nqKrJoyEfVUe4Ozfw/CbYRhN/yJyHBan4s PFJzTtoMmqieBbOhGHyPo+R6I9ysg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedruddvgdehgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggugfgjsehtqhertddttddunecuhfhrohhmpeforgigihhm vgcutfhiphgrrhguuceomhgrgihimhgvsegtvghrnhhordhtvggthheqnecuggftrfgrth htvghrnhepheelvdfhkeelgfevleekleduvefftefhudekvdffhffhgeefuefgheegfeej vedtnecukfhppeeltddrkeelrdeikedrjeeinecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepmhgrgihimhgvsegtvghrnhhordhtvggthh 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 7F091328005A; Mon, 21 Sep 2020 08:29:19 -0400 (EDT) Date: Mon, 21 Sep 2020 14:29:18 +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 , alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, Samuel Holland Subject: Re: [PATCH v4 02/22] ASoC: sun4i-i2s: Change set_chan_cfg() params Message-ID: <20200921122918.kzzu623wui277nwr@gilmour.lan> References: <20200921102731.747736-1-peron.clem@gmail.com> <20200921102731.747736-3-peron.clem@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20200921102731.747736-3-peron.clem@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(). >=20 > 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? Also, Fixes tag? Thanks! Maxime