[PATCH] ASoC: soc-core: add the driver component name to the component struc
Köry Maincent
kory.maincent at bootlin.com
Tue Dec 7 16:16:32 CET 2021
Mark,
On Tue, 7 Dec 2021 13:08:33 +0000
Mark Brown <broonie at kernel.org> wrote:
> On Tue, Dec 07, 2021 at 09:47:32AM +0100, Köry Maincent wrote:
> > Mark Brown <broonie at kernel.org> 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
More information about the Alsa-devel
mailing list