sof-soundwire: cleanups for rt712, rt713 and rt722 multi codec
alsa-project/alsa-ucm-conf pull request #775 was opened from perexg:
RT712 - move rt712-dmic to rt712 config (included in If.multi_init and from HiFi.conf)
RT713 - move rt713-dmic to rt713 config (included in If.multi_init and from HiFi.conf)
RT713,RT712,RT722 - do not include files for individual devices when multi codec is detected.
Declare 'MultiHeadsetShadow' variable to be consistent with other shadow variables (Speaker, Mic). Use it for RT712 and RT713 (Headphones/Headset devices).
Request URL : https://github.com/alsa-project/alsa-ucm-conf/pull/775
Patch URL : https://github.com/alsa-project/alsa-ucm-conf/pull/775.patch
Repository URL: https://github.com/alsa-project/alsa-ucm-conf
sof-soundwire: cleanups for codecs with multiple functions
In reply to a message not in the archivealsa-project/alsa-ucm-conf pull request #775 was edited from perexg:
RT712 - move rt712-dmic to rt712 config (included in If.multi_init and from HiFi.conf)
RT713 - move rt713-dmic to rt713 config (included in If.multi_init and from HiFi.conf)
RT713,RT712,RT722 - do not include files for individual devices when multi codec is detected.
Declare 'MultiHeadsetShadow' variable to be consistent with other shadow variables (Speaker, Mic). Use it for RT712 and RT713 (Headphones/Headset devices).
Request URL : https://github.com/alsa-project/alsa-ucm-conf/pull/775
Patch URL : https://github.com/alsa-project/alsa-ucm-conf/pull/775.patch
Repository URL: https://github.com/alsa-project/alsa-ucm-conf
sof-soundwire: cleanups for codecs with multiple functions
In reply to a message not in the archivealsa-project/alsa-ucm-conf pull request #775 was edited from perexg:
The load mechanism assumed only one multi-codec in the system, but
we saw in #774 multiple instances of those codecs (rt1320 and rt713).
Make the load mechanism straight:
- introduce file variables
- remove shadow variables
- probe multi-codecs separately and modify the file variables
- test for duplicate file inclusion (in both sof-soundwire / HiFi configs)
- merge dmic configs for rt712,rt713 to one file
This change also removes filters for speaker/headset/mic init includes. The file variables + multi-codec probe replaces this functionality and if the driver reports an "unknown" codec, UCM config should be updated anyway.
Request URL : https://github.com/alsa-project/alsa-ucm-conf/pull/775
Patch URL : https://github.com/alsa-project/alsa-ucm-conf/pull/775.patch
Repository URL: https://github.com/alsa-project/alsa-ucm-conf
sof-soundwire: cleanups for codecs with multiple functions
In reply to a message not in the archivealsa-project/alsa-ucm-conf pull request #775 was edited from perexg:
The load mechanism assumed only one multi-codec in the system, but we saw in #774 multiple instances of those codecs (rt1320 and rt713).
Make the load mechanism straight:
- introduce file variables
- remove shadow variables
- probe multi-codecs separately and modify the file variables
- test for duplicate file inclusion (in both sof-soundwire / HiFi configs)
- merge dmic configs for rt712,rt713 to one file
This change also removes filters for speaker/headset/mic init includes. The file variables + multi-codec probe replaces this functionality and if the driver reports an "unknown" codec, UCM config should be updated anyway.
Request URL : https://github.com/alsa-project/alsa-ucm-conf/pull/775
Patch URL : https://github.com/alsa-project/alsa-ucm-conf/pull/775.patch
Repository URL: https://github.com/alsa-project/alsa-ucm-conf
sof-soundwire: cleanups for codecs with multiple functions
In reply to a message not in the archivealsa-project/alsa-ucm-conf pull request #775 was edited from perexg:
The load mechanism assumed only one multi-codec in the system, but we saw in #774 multiple instances of those codecs (rt1320 and rt713).
Make the load mechanism straight:
- introduce file variables
- remove shadow variables
- probe multi-codecs separately and modify the file variables
- test for duplicate file inclusion (in both sof-soundwire / HiFi configs)
- merge dmic configs for rt712,rt713 to one file
This change also improves filters for speaker/headset/mic init includes.
Request URL : https://github.com/alsa-project/alsa-ucm-conf/pull/775
Patch URL : https://github.com/alsa-project/alsa-ucm-conf/pull/775.patch
Repository URL: https://github.com/alsa-project/alsa-ucm-conf