From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7F784C433F5 for ; Tue, 7 Dec 2021 15:18:05 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id BFC222475; Tue, 7 Dec 2021 16:17:13 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz BFC222475 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1638890283; bh=t/tu5c2HgiUMse2fBQw2msqX9wQbrjm16qk401D6eu8=; h=Date:From:To:Subject:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=g+HG58pbEoxDIohG8bKulLHuEF8T/6Y8ri1jmJhhrLoBegD7XzILqu7shrihY1uQc k/6eTKbvLYfwy3t03QF7Mr9mT9KoI6qKbfccevKWNx0fdEuBHzNPgtfQbbR/AkS3mx B5NcEo2HUtLZaO3WbwzsLZzygHkHRw2MdMqAL8oA= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 8D20DF80431; Tue, 7 Dec 2021 16:16:47 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 1EFD1F804AE; Tue, 7 Dec 2021 16:16:46 +0100 (CET) Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [217.70.183.200]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id B1A34F80103 for ; Tue, 7 Dec 2021 16:16:43 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz B1A34F80103 Received: (Authenticated sender: kory.maincent@bootlin.com) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id CF6AF20007; Tue, 7 Dec 2021 15:16:39 +0000 (UTC) Date: Tue, 7 Dec 2021 16:16:32 +0100 From: =?UTF-8?B?S8O2cnk=?= Maincent To: Mark Brown Subject: Re: [PATCH] ASoC: soc-core: add the driver component name to the component struc Message-ID: <20211207161632.47ee0020@kmaincent-XPS-13-7390> In-Reply-To: References: <20211206095920.40552-1-kory.maincent@bootlin.com> <20211207094732.3be5befb@kmaincent-XPS-13-7390> Organization: bootlin X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: alsa-devel@alsa-project.org, alexandre.belloni@bootlin.com, Liam Girdwood , Takashi Iwai , linux-kernel@vger.kernel.org, thomas.petazzoni@bootlin.com X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Mark, On Tue, 7 Dec 2021 13:08:33 +0000 Mark Brown wrote: > On Tue, Dec 07, 2021 at 09:47:32AM +0100, K=C3=B6ry Maincent wrote: > > Mark Brown wrote: =20 >=20 > > > Why is one device registering multiple components in the first place?= =20 >=20 > > Because the sound components are more and more complex. Why they should= n't? > > =20 >=20 > In what way are they more complex?=20 The sound hardware components add more and more features. >=20 > > It seems to be already the case: > > sound/soc/codecs/cros_ec_codec.c > > sound/soc/fsl/fsl_easrc.c > > sound/soc/mediatek/mt*/mt*-afe-pcm.c > > sound/soc/sunxi/sun4i-codec.c > > sound/soc/soc-utils.c =20 >=20 > Quite a few (I think all?) of these are quite old and and are the result > of refactoring from pre-component code rather than modern drivers, it's > likely there is no concrete reason for them to behave as they do. I am a beginner in the kernel sound stack, alright then, the issue comes fr= om the drivers. Thanks, Regards