From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: Jarkko Nikula <jarkko.nikula@nokia.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: ASoC for TI OMAP - Multiformat ASoC DAI link driver?
Date: Wed, 2 Apr 2008 12:48:20 +0100 [thread overview]
Message-ID: <20080402114820.GB7977@rakim.wolfsonmicro.main> (raw)
In-Reply-To: <20080402134538.67d67d6e.jarkko.nikula@nokia.com>
On Wed, Apr 02, 2008 at 01:45:38PM +0300, Jarkko Nikula wrote:
> Currently in ASoC v1 we have one DAI driver per one format? E.g.
> separate drivers for I2S, AC97, etc and type field in cpu_dai
> structure is not a bit field or at least not used such way in
> soc-core.c and DAI link drivers.
Yes, though it's mostly just used to special case AC97 and for display
purposes so you may find that your use case already works if you fill in
something non-AC97. I've not looked closely or made any effort to test
this, though.
> I looked shortly asoc-v2-dev branch and now this type field is gone.
> Does it mean that there you can have DAI link driver which supports
> multiple formats in set_fmt callback?
I don't know if anyone has ever actually done that but there should be
nothing in the core which has a problem with doing it - if there is we
should fix it up since this is a perfectly reasonable use case and
affects a number of other modern processors too.
next prev parent reply other threads:[~2008-04-02 11:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-02 10:45 ASoC for TI OMAP - Multiformat ASoC DAI link driver? Jarkko Nikula
2008-04-02 11:48 ` Mark Brown [this message]
2008-04-03 6:13 ` Jarkko Nikula
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=20080402114820.GB7977@rakim.wolfsonmicro.main \
--to=broonie@opensource.wolfsonmicro.com \
--cc=alsa-devel@alsa-project.org \
--cc=jarkko.nikula@nokia.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox