From: Dmitry Baryshkov <dbaryshkov@gmail.com>
To: alsa-devel@alsa-project.org
Subject: ASoC vs non-ASoC: 2 pcm driver questions.
Date: Mon, 8 Sep 2008 06:53:48 +0000 (UTC) [thread overview]
Message-ID: <ga2i5s$sge$2@ger.gmane.org> (raw)
Hi,
While unifying pxa2xx-pcm drivers (ASoC and plain one) I've encountered the
following differences in snd_pcm_open:
1. ASoC one uses snd_soc_set_runtime_hardware() function instead of
just copying runtime->hw = pxa2xx_pcm_hardware;
However the major difference is that snd_soc_set_runtime_hardware() doesn't
initialise few fields which are set later in generic soc_pcm_open().
Can I drop this call and use the same assignment as in non-asoc driver.
2. To enforce some constraints ASoC driver uses generic
snd_pcm_hw_constraint_step() instead of hand-written rule functions.
Can this be also unified or there are some hidden differencies?
--
With best wishes
Dmitry
next reply other threads:[~2008-09-08 6:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-08 6:53 Dmitry Baryshkov [this message]
2008-09-08 8:37 ` ASoC vs non-ASoC: 2 pcm driver questions Liam Girdwood
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='ga2i5s$sge$2@ger.gmane.org' \
--to=dbaryshkov@gmail.com \
--cc=alsa-devel@alsa-project.org \
/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.