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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 851ECC433F5 for ; Tue, 7 Dec 2021 15:16:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234531AbhLGPUP convert rfc822-to-8bit (ORCPT ); Tue, 7 Dec 2021 10:20:15 -0500 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:34915 "EHLO relay7-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229818AbhLGPUO (ORCPT ); Tue, 7 Dec 2021 10:20:14 -0500 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 Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, alexandre.belloni@bootlin.com, thomas.petazzoni@bootlin.com, Liam Girdwood , Jaroslav Kysela , Takashi Iwai 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: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Mark, On Tue, 7 Dec 2021 13:08:33 +0000 Mark Brown wrote: > On Tue, Dec 07, 2021 at 09:47:32AM +0100, Köry Maincent wrote: > > Mark Brown wrote: > > > > Why is one device registering multiple components in the first place? > > > Because the sound components are more and more complex. Why they shouldn't? > > > > In what way are they more complex? The sound hardware components add more and more features. > > > 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 > > 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 from the drivers. Thanks, Regards