18 Nov
2008
18 Nov
'08
2:57 p.m.
On Tue, Nov 18, 2008 at 07:07:41PM +0530, naveen krishna ch wrote:
But, i see the jack layer uses the structure
struct snd_device { struct list_head list; /* list of registered devices */ struct snd_card *card; /* card which holds this device */
Look at how you register a jack - it's with the snd_card and....
The latest ALSA SOC drivers ( In my case my driver ) uses
struct snd_soc_device {
...the ASoC device is just a particular way of implementing the generic snd_card and has a snd_card as a member.
in this case what shall i do to make use of the jack abstraction layer. If cant use the jack abstraction layer, can any one suggest me the other way out
You can use the snd_card of the ASoC card directly.