Hi all,
On 18-07-18 22:55, Hans de Goede wrote: <snip>
Note that unfortunately my previous round of cleanup patches removed 1 input mapping (of the 3 mappings in total it removed) which is actually necessary. So this series re-introduces that 1 mapping. I did not notice this before because UCM input profile switching does not work reliably for some reason, something which I still need to investigate.
While doing some bytcr_rt5651 work this weekend (the x86 ASoC work I do is a spare time project for me) I hit this again, so this time I've spend some time getting to the bottom of this. The cause is a pulseaudio bug, where pulseaudio uses a strncmp without first checking the lengths of the 2 strings match, causing it to see selecting the "InternalMic-IN1" UCM device as selecting both the "InternalMic-IN1" and the "InternalMic-IN12" device.
A pull-req fixing this is here: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/merge_requests/40
Regards,
Hans