ALSA SOC VI API's for 2 PCM DEVICE ON SAME CARD
Hi,
Actually i am stuck with a problem i have two register 2 channels of my SOC device as 2 different pcm devices on same card.
But my driver uses ALSA V1 api's and i am not able to find out any
example code for this using v1 api's. (SIMILAR TO MPC5200_PSC.C)
If anyone can help me please.
Thanks,
Dinesh
Quoted 6 lines · dinesh
Actually i am stuck with a problem i have two register 2 channels of my SOC device as 2 different pcm devices on same card.
But my driver uses ALSA V1 api's and i am not able to find out any
example code for this using v1 api's. (SIMILAR TO MPC5200_PSC.C)If anyone can help me please.
Several machines have multiple PCMs - the first example that springs to mind is tosa, see sound/soc/pxa/tosa.c. Simply register more than one dai_link in your snd_soc_machine.