7 Dec
2021
7 Dec
'21
2:08 p.m.
On Tue, Dec 07, 2021 at 09:47:32AM +0100, Köry Maincent wrote:
Mark Brown broonie@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?
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.