Received: by 10.213.65.68 with SMTP id h4csp372066imn; Tue, 13 Mar 2018 07:05:45 -0700 (PDT) X-Google-Smtp-Source: AG47ELsg+BkLqqlMAD+HDm0D/4IQKHvM84PbJPfU3NpNnFYuZLXz375oJR0EfqyzONhofFODNA+5 X-Received: by 10.101.71.202 with SMTP id f10mr599832pgs.91.1520949945683; Tue, 13 Mar 2018 07:05:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520949945; cv=none; d=google.com; s=arc-20160816; b=v/YTRJBaOuRPliX2UiPR8+JvMG1k4R0nXfIEHWOv2Dui9YvWPVbayiawr71OpQykq0 p6E5CCo25WX85ZYnvbQ8PHQQpUVqUAY7EEFi4PgKit26tHzvQ643dSoyZ7zkuaDjxZQV WcAjhrD0zRsLbUAkAtkaT+hU7uUFGpdcYsU4Pr0UlcyErEbKEW6r6BhPYNRAI3GPIuJy iimL5m4sGMDO9OYwJ3gSgVoXUNG1Eeytqgi6uC9+04X4XbqpESlbMC1TAKMdsgUu8sPa ct4oM65W7v1/+ZMBsL8GyhErwSGaKl8HP41wx61wVvFs6W/H0nEoG2HyIfNKjxeiFzPT djXA== 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:arc-authentication-results; bh=JeH/CR/iuk0ENvnfEFwWw1pHV2xdyeD0YRCsuor1pXM=; b=gvMNB73DvQ5vEpqEt7AIpnhFnfXc5NEsgbAKJ+6zG6tZJURSmEEA2023SvhcK+LzvZ 5zkqJdfyhkZJt2lwoPyhU7zJ/t2eFL4DLbvUKa4NKltH/s3yQpUbqB+BeutZUEBuGfK5 JQok3WDmyoER5mi28pRPwuX55YuKNsVzHNfeQZw9J+8Ir7BvA0fx5CqXxYRethxa2Jjr OEvJGg+X/otEreJyr7Cy980PNzTmYNCJ8RYakNrqWuqWRrQ11dO1FMSltoxil1zgnzSW cgTFkzr+PlviscybR1Yy6v11zHw1a+VSFtJs7vFPovP8F0FJDj5Opw3i6AnkMvKyrEIS PXdw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g11si125985pgf.5.2018.03.13.07.05.08; Tue, 13 Mar 2018 07:05:45 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752672AbeCMODS (ORCPT + 99 others); Tue, 13 Mar 2018 10:03:18 -0400 Received: from mail.bootlin.com ([62.4.15.54]:47393 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751808AbeCMODP (ORCPT ); Tue, 13 Mar 2018 10:03:15 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id 38266203E2; Tue, 13 Mar 2018 15:03:13 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 Received: from localhost (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.bootlin.com (Postfix) with ESMTPSA id C386320146; Tue, 13 Mar 2018 15:03:02 +0100 (CET) Date: Tue, 13 Mar 2018 15:03:03 +0100 From: Maxime Ripard To: Chris Obbard Cc: broonie@sirena.org.uk, Code Kipper , Chen-Yu Tsai , linux-sunxi , Linux ARM , lgirdwood@gmail.com, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, be17068@iperbole.bo.it Subject: Re: [linux-sunxi] Re: [PATCH v2 6/6] ASoC: sun4i-i2s: Add support for loopback Message-ID: <20180313140303.wkwsxhhm5lxbzp5a@flea> References: <20180312155753.9478-1-codekipper@gmail.com> <20180312155753.9478-7-codekipper@gmail.com> <20180312183521.GP2186@sirena.org.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="2x7byyr6nyfj2hcd" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180223 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --2x7byyr6nyfj2hcd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 13, 2018 at 01:39:44PM +0000, Chris Obbard wrote: > >> +- loopback: if this property is present then the dai is configured in > >> + loopback mode where the output fifo is redirected to the= input > >> + fifo. > > > > This really doesn't seem like something that ought to go into the DT > > and hence ABI given that there's obviously no reason to use this in > > production. Just make it be a #define in the code or something. >=20 > It would be nice to have this as an optional devicetree property so > when testing JACK latency etc I don't have to manually re-compile a > kernel... Another one might also argue that having to recompile the DT and reflash the whole firmware or EEPROM is overkill for just testing JACK latency. Can't we create a module parameter for it? Maxime --=20 Maxime Ripard, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com --2x7byyr6nyfj2hcd Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE0VqZU19dR2zEVaqr0rTAlCFNr3QFAlqn2hYACgkQ0rTAlCFN r3S1DRAAjhIduewFI9H4p3wDEAaXqYFAOsodCtcThLZpIZOuUHufQ2XPvhH/4LjH e9jyynK2jmzXK/THayoEr2WkG9TsIU5pgt7tGUcTjYqC4JR4XlkeNAS7Th8XFP/Q +mFOjIefCpEyj1acT1HWjFyuoTKK3CacYWaHbn2wr5ovqwr1p3hG9zX8KgxxGe2k yQ6WSKDu1EfdPYeP/N2JNdfWYAPS6HC6I8LRJ2e1g0cA3t7LUbR/rd8ynTiWh2Rb yJiS6EDgRqGBCsPr5PPz579HZRQ8JUsL6h3FWv2ZTd9QGtkynvXwY3YnfIXzk4se qUPsT0jwg5BBEsjB6DPMrOl/hPW1TL7oaN1zn7VTsgjW1xyYEQXYanQRaZawb4Rl yepNYVLlhDiXBTxMW4KMUM6NHCfQ5Za/HqSUNB3Chma+rODTUBPzm/MFF9wqucdc 7b/tmGsEFSxP6IXuUbQ+iCzUfSeM6TYrzYir+LnKZIFV/FB7iwiqcpwU+iIE9zWP n4fSbHXOqeHFnSTJbWd/iuYiJmi0C2TmmjUJxV5iGrt6aTL1jx/D3X2ZUeZk/hQq w+cSg56449LXrJ3xV5O2kDAMU4ZtTqc6SoHwVLM4lF82YazaNYC8yzKl9piQoakq CS41wsLktRvvbatVsbx2LpyYRLvQK9ZVQBZdf9lmsQqZ1WiOhpw= =b85g -----END PGP SIGNATURE----- --2x7byyr6nyfj2hcd--