Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp7499367ybp; Wed, 16 Oct 2019 09:32:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqyr5SVPIzcp9SWdWnreYM+MegFff5r973aF/0SA5bgMIUqo0rIL0aBSBE0uk4UXWOs3d90r X-Received: by 2002:aa7:d145:: with SMTP id r5mr39472282edo.275.1571243531538; Wed, 16 Oct 2019 09:32:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571243531; cv=none; d=google.com; s=arc-20160816; b=glUDx9KS+8njQas5nAgFU1gHkFu6SPMsSqPADS9kxu1e99th4XFPhAEBBgptlstcDo rdubNrG8ST27vkzXTxZMRQuuaSNOnIxlWFXcleMTJ/ZrkVRG7papsYY7RXvuDed7HPcj lC+cbMTdSTyp52QbEh0PdULJ1LaEV1wdojNWA6imfW1a4TBjeVH+AdBN4PzxWpxhAzlK tFccU7hiYOEh6lGjF/SxpXknUr+VTha6OfWfvweT4YNxXBieJfSdXX4Ivbn6+KQWL8L/ esOz388h2xei02ujqGhuCgpiVzjtdqPuce5M07bKLp5RjahInQ6/PIhuiaIzQxFt7Mxy uEmA== 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:dkim-signature; bh=Xh/9gWmwBKdF+8neE3kItdxVMfpHXwc3n8w1uZywGNQ=; b=fi8LEzKv1su50BpBfUcPgudY0OzVtlVAY50Xd+0qEfduxKCnw3i0iQqQYK7jCbuNYa YpN3JS/d5oSlah3doVbsQCqZCDNxpLDTTeHUe6BiwPy9wVadlbAdbrD5C3ACpOa47LSi 2c36FY/uXIT49gv3HlCPPvLjtWxQhGZWm0RGhacigKa23sULRKt3h5i83uu6w1hc6xF4 ilklPgvLX6VlO7FbCXCKncwZ2bhqyNkb2saLtdhKH7UFXjZs/Hr7PFrp84E23gGuAzMY gviQVjTK+5smSgMi06kU/Ichd2n6P8PiAou2RMgLk3Lg9g/Fzw9Cy9NYK9xLh9uS9z6N xzjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=bMkLi5d6; 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=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 i38si18495975eda.64.2019.10.16.09.31.48; Wed, 16 Oct 2019 09:32:11 -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=bMkLi5d6; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2393726AbfJPOvG (ORCPT + 99 others); Wed, 16 Oct 2019 10:51:06 -0400 Received: from mail.kernel.org ([198.145.29.99]:34234 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390729AbfJPOvG (ORCPT ); Wed, 16 Oct 2019 10:51:06 -0400 Received: from localhost (lfbn-1-10718-76.w90-89.abo.wanadoo.fr [90.89.68.76]) (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 331AE2168B; Wed, 16 Oct 2019 14:51:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1571237465; bh=Xh/9gWmwBKdF+8neE3kItdxVMfpHXwc3n8w1uZywGNQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=bMkLi5d63UN14+72d9h18uH19CkeKG76vGq+CqQ+wIG2Cyem630Ojwrt9CEOdzh1f nfcG0oLaZc2le2vb93goK32+ObpHGn+url2irqclWJw+pWdZempUJgMh0VLuA1KDwD FgYwaZLYrXiSq3mJDbHG9vjPT2zA1qR1eMkuVBy4= Date: Wed, 16 Oct 2019 16:51:03 +0200 From: Maxime Ripard To: Code Kipper Cc: Chen-Yu Tsai , linux-sunxi , linux-arm-kernel , Liam Girdwood , Mark Brown , linux-kernel , Linux-ALSA , "Andrea Venturi (pers)" Subject: Re: [PATCH v6 1/7] ASoC: sun4i-i2s: Move channel select offset Message-ID: <20191016145103.im4h75qi2fcdcmar@gilmour> References: <20191016070740.121435-1-codekipper@gmail.com> <20191016070740.121435-2-codekipper@gmail.com> <20191016080420.4cbxn2hdt3wwtrhl@gilmour> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="fi6amry3fbotqfax" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --fi6amry3fbotqfax Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Oct 16, 2019 at 10:41:31AM +0200, Code Kipper wrote: > On Wed, 16 Oct 2019 at 10:04, Maxime Ripard wrote: > > > > On Wed, Oct 16, 2019 at 09:07:34AM +0200, codekipper@gmail.com wrote: > > > From: Marcus Cooper > > > > > > On the newer SoCs the offset is used to set the mode of the > > > connection. As it is to be used elsewhere then it makes sense > > > to move it to the main structure. > > > > Elsewhere where, and to do what? > Thanks...How does this sound? > > As it is to be used to set the same offset for each TX data channel in use > during multi-channel audio then let's move it to the main structure. That still doesn't explain why you want to move it to the main structure. It's there, it's calculated already, and can be used during multi-channel audio if you set it up in the same function. What you need to explain is why you can't do it in the same function. Maxime --fi6amry3fbotqfax Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXacuVwAKCRDj7w1vZxhR xTaQAP0X2iGfJ5IY9S8B+s9Zh5MP11erZjYLItvMfIJTyW5EAgD/QxPJRbfuSz03 Mqd/XK6k/sf6xBYpSzArepQAruvCDQs= =rCXO -----END PGP SIGNATURE----- --fi6amry3fbotqfax--