All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Brown <broonie@sirena.org.uk>
To: naveen krishna ch <naveenkrishna.ch@gmail.com>
Cc: alsa-devel@alsa-project.org, linux-omap-open-source@linux.omap.com
Subject: Re: Jack insertion
Date: Tue, 18 Nov 2008 13:57:40 +0000	[thread overview]
Message-ID: <20081118135736.GA29982@sirena.org.uk> (raw)
In-Reply-To: <ef0d8a250811180537j31c6e59bp56dc82fd9fd3d483@mail.gmail.com>

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.

      parent reply	other threads:[~2008-11-18 13:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-18  6:46 Jack insertion naveen krishna ch
2008-11-18  9:23 ` Trilok Soni
2008-11-18 11:03 ` Mark Brown
2008-11-18 13:37   ` naveen krishna ch
2008-11-18 13:48     ` naveen krishna ch
2008-11-18 13:57     ` Mark Brown [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081118135736.GA29982@sirena.org.uk \
    --to=broonie@sirena.org.uk \
    --cc=alsa-devel@alsa-project.org \
    --cc=linux-omap-open-source@linux.omap.com \
    --cc=naveenkrishna.ch@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.