[alsa-devel] Question about patch ASoC: Prevent components from being bound to multiple cards
Koro Chen
koro.chen at mediatek.com
Fri Oct 2 12:34:24 CEST 2015
Hi Lars
I have two cards originally but the second one failed because of the
patch ASoC: Prevent components from being bound to multiple cards.
My configuration is like this:
card0: use platform's DAI component A
card1: use the same platform's DAI component B
The two cards use different DAI components, so it should be OK but still
gets failed. I looked into this and found it is because
snd_soc_register_platform() itself will also add a component, and this
component was bound to the first card so the second probe failed.
It seems like I might need to separate the platform into two platform
drivers, but it is strange since I have only one audio hardware. I
wonder if it is reasonable to prevent a single ASoC platform driver from
being used by multiple cards? Do you have any suggestion how to fix
this?
More information about the Alsa-devel
mailing list