On Wed, Nov 20, 2019 at 07:46:47PM +0100, Jaroslav Kysela wrote:
Dne 20. 11. 19 v 19:19 Mark Brown napsal(a):
I'm not clear what adding the component string does here - is the intention just to say that the card is built in to the machine and hence DMI can be used? If that is the case something more generic that'd also work with other firmware interfaces might be good.
Yes, basically, it would mean that the sound card is integrated to the motherboard thus the DMI info can be used for the special configs. I already added sysfs support to alsa-lib ucm substitution.
Thinking more - we don't need this probably urgently for ASoC drivers, because they all work with the integrated (built in) hardware, but it might make sense for other drivers. Probably another component identifier should be selected like 'integrated' or 'builtin' or so.
Either of those sounds good to me. You're right that it won't make a huge difference to most ASoC drivers, like you say it's not like most of them have any non built in variants to worry about. It seems most likely to be relevant for something like USB.