Re: [PATCH] ASoC: soc-core: add the driver component name to the component struc
From: Mark Brown
Date: Tue Dec 07 2021 - 08:08:45 EST
On Tue, Dec 07, 2021 at 09:47:32AM +0100, Köry Maincent wrote:
> Mark Brown <broonie@xxxxxxxxxx> 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?
> 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.
Attachment:
signature.asc
Description: PGP signature