Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp26559142rwd; Mon, 3 Jul 2023 11:19:48 -0700 (PDT) X-Google-Smtp-Source: APBJJlGXbpAbH6EY/ujWTtfke5eF2gNajjnMeHRRXjE66b9cVWktXPrhQeDfmPdFu3suzx77tSyK X-Received: by 2002:a17:902:e548:b0:1b5:25f8:2160 with SMTP id n8-20020a170902e54800b001b525f82160mr13383258plf.30.1688408387690; Mon, 03 Jul 2023 11:19:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688408387; cv=none; d=google.com; s=arc-20160816; b=yQK5nbxDH/2VWzQ5VxHkT1KVsRKfpV9N1ZxH/8mN/4D8HgrB1JyN0NFtfTaIHJmeDP QuGtfovso1PL9qWQNNqW4KdYPeRA2wR0oyIRAnpAyoyY5Caib0Lnztp5g2ZQCyLGrmni GqCWuErOp5EaofjubL4iwcX/XXqYDlIBsGm36i4HrdRx7UtAdyxIqz2wdyD9WEXc92lQ cmHFv1j9p8gbV1iC9D0vOFnw/1AdvJr1+bp2dx691FMxGlJBU2BSwP+LmM+FJdjtlJzU ZvzSm92ijhoLimO+826l2zb986swXRPZvknRY+E9GJ7LgkKOalnFtlYUWIyJytFivYCH gYkw== 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; bh=RlcFjbVu2omN1QehzpjZxdKpy5AMDmxb7X1QKc57y+0=; fh=3cV08xjcVmQmMPDf53NOkTXlYlUVGGuEhtkIZKawC18=; b=bA3oNrkvSSukhuOUfhgmW2Oit2XwoK/UOvK5yEDxo5XxF0iU36QvzTyIjNLFeqMWpc TqsD0TDJxcuQar1vMSV49OY6eszFIhLYnrlGXKY5j+50uUL5r8+PXVFEPALbtI314GAZ TUmp8IRYZn2AOJDDK0Cw8Ln8dKkVgbLfd/3RM2Q9lgWXtoflNTYJ2oT1wTrvcg+8AZ4/ vX7B4vFSVGmeNp3P59nlb9unL2dUpKejgY7eFn0j7VxbQ6H8LJ/uMxyoZH/AEYFblsd9 dK4m74UbLuXo63ZWMbdjgs/opGcTLUb29wMwYwL/XUW6/XPUOzoWfxA/w7PmlEZGLQFk EKcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FhW9voFl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t6-20020a170902b20600b0019c354055d0si17920641plr.304.2023.07.03.11.19.32; Mon, 03 Jul 2023 11:19:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FhW9voFl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S230156AbjGCR7H (ORCPT + 99 others); Mon, 3 Jul 2023 13:59:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230030AbjGCR7E (ORCPT ); Mon, 3 Jul 2023 13:59:04 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6665EE42; Mon, 3 Jul 2023 10:59:03 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id EF0A460FFB; Mon, 3 Jul 2023 17:59:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6A2F4C433C8; Mon, 3 Jul 2023 17:58:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1688407142; bh=XiKFb7V3OWMEwZYvzGXbVzuxPSM8FbOxPhs9OT74TMw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=FhW9voFlWsg2QeJzEydQBhtOwjlMm8fZzCdy3Jg6bgRw3Esqh+f8rsZBYIA3SCaPx AQz+Oc9EBN6nn93BEoFFPSg+57WrZmANomGNefAIrNciFIsppxAehBRnMqXAt/ywjm z7iqgzyrENrfpeSnG308kL3EU9gR+y4v6L3MlpiOyNoivVjA3mh4bTEnyioySkQzgM GxeHgvOxN6ShRkFj3TRimrwaeLvgUIl10cAmpoOAJRCAw3PSjPMnrlQB4GB7fHJBUf S3+AIOJVoJNcN8mVzU6/cDqq2x4yEOq0egDriSpyLBXZ5+3puLj3beKYTz+4YpegCI Yid4vMQ3ucBZQ== Date: Mon, 3 Jul 2023 18:58:55 +0100 From: Mark Brown To: Hans Verkuil Cc: Takashi Iwai , Shengjiu Wang , Sakari Ailus , Shengjiu Wang , tfiga@chromium.org, m.szyprowski@samsung.com, mchehab@kernel.org, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, Xiubo.Lee@gmail.com, festevam@gmail.com, nicoleotsuka@gmail.com, lgirdwood@gmail.com, perex@perex.cz, tiwai@suse.com, alsa-devel@alsa-project.org, linuxppc-dev@lists.ozlabs.org, Jacopo Mondi Subject: Re: [PATCH 1/6] media: v4l2: Add audio capture and output support Message-ID: <090cc065-b078-4f2c-9b2d-3b0b7418461d@sirena.org.uk> References: <1688002673-28493-1-git-send-email-shengjiu.wang@nxp.com> <1688002673-28493-2-git-send-email-shengjiu.wang@nxp.com> <87h6ql5hch.wl-tiwai@suse.de> <43f0ecdf-7454-49ae-96b3-2eae5487e9a5@sirena.org.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="lxJuGwNgfQ7aT3CA" Content-Disposition: inline In-Reply-To: X-Cookie: Please go away. X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --lxJuGwNgfQ7aT3CA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Jul 03, 2023 at 03:12:55PM +0200, Hans Verkuil wrote: > My main concern is that these cross-subsystem drivers are a pain to > maintain. So there have to be good reasons to do this. > Also it is kind of weird to have to use the V4L2 API in userspace to > deal with a specific audio conversion. Quite unexpected. > But in the end, that's a decision I can't make. > So I wait for that feedback. Note that if the decision is made that this > can use V4L2, then there is quite a lot more that needs to be done: > documentation, new compliance tests, etc. It's adding a new API, and that > comes with additional work... Absolutely, I agree with all of this - my impression was that the target here would be bypass of audio streams to/from a v4l2 device, without bouncing through an application layer. If it's purely for audio usage with no other tie to v4l2 then involving v4l2 does just seem like complication. --lxJuGwNgfQ7aT3CA Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmSjDF4ACgkQJNaLcl1U h9C2qQf/T1bo/x5kzUxZUiZwHmeGiBJp44klM7V/tJxivlJLnJasmtd1XuabJOck svgGpJOHeeAAIAQIleix37Lwq5hMLYgRdPPAHw3+uw4mYtDzqo5dx8t7Wb8d7+px 152zx6Cv8YdJ1mK/UOKXC/+knHpkW0r9PtzwItAAnCTPpAIPjB0FAjSkhRuQr2bl tlzLcAepTA/uPQYuK1FbwUZEcm0i/qo/aFpE5T7hYpY3IlFYrtMz8uNyqhXMsuM2 SMREMMIMF84hMJkJ3sRrf6609xv86w+Rkh6illa8jX/GCKDHQRNR0xa+0Gky5cah eOW+Q5lSP6NtzVnkBdM3DUDl/+IaRg== =ImD6 -----END PGP SIGNATURE----- --lxJuGwNgfQ7aT3CA--