From: Peter Ujfalusi <peter.ujfalusi@nokia.com>
To: ext Jarkko Nikula <jhnikula@gmail.com>
Cc: "kyungmin.park@samsung.com" <kyungmin.park@samsung.com>,
"alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>,
"broonie@opensource.wolfsonmicro.com"
<broonie@opensource.wolfsonmicro.com>,
Joonyoung Shim <jy0922.shim@samsung.com>,
"bhmin@samsung.com" <bhmin@samsung.com>
Subject: Re: [PATCH] ASoC: OMAP: Add checking to detect bufferless pcms
Date: Wed, 22 Apr 2009 12:42:46 +0300 [thread overview]
Message-ID: <200904221242.46541.peter.ujfalusi@nokia.com> (raw)
In-Reply-To: <bd7b27490904220130g13602721u6ae4fd3dca21fde5@mail.gmail.com>
On Wednesday 22 April 2009 11:30:32 ext Jarkko Nikula wrote:
> On Wed, Apr 22, 2009 at 4:56 AM, Joonyoung Shim
> <jy0922.shim@samsung.com<mailto:jy0922.shim@samsung.com>> wrote: Add
> checking in hw_params and prepare to detect bufferless pcms(i.e. BT <-->
> codec).
>
> I see exactly similar lines in s3c24xx-pcm.c but don't point now the use
> case where this is used and I don't have idea what is this all about.
>
> Is this something where DAI driver or another end of connection is used to
> provide clocking and the whole setup is then controlled with ALSA PCM API?
> Somehow I have the feeling that would there be a better way to achieve it
> than with dummy bufferless transfer?
In the twl codec, the BT interface does not have dedicated clock line, but it
is (re)using the clock lines for the voice PCM interface. So in order to get
BT data going between the BT and the codec, the voice PCM interface has to
generate the clocks.
But I think this could be done even without the need for the alsa PCM
interface, probably well placed DAPM switches would also can take care of
this?
>
> --
> Jarkko
--
Péter
next prev parent reply other threads:[~2009-04-22 9:43 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-22 1:56 [PATCH] ASoC: OMAP: Add checking to detect bufferless pcms Joonyoung Shim
2009-04-22 8:30 ` Jarkko Nikula
2009-04-22 8:43 ` Mark Brown
2009-04-22 9:01 ` Jarkko Nikula
2009-04-22 9:26 ` Mark Brown
2009-04-22 9:42 ` Peter Ujfalusi [this message]
2009-04-22 9:48 ` Joonyoung Shim
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=200904221242.46541.peter.ujfalusi@nokia.com \
--to=peter.ujfalusi@nokia.com \
--cc=alsa-devel@alsa-project.org \
--cc=bhmin@samsung.com \
--cc=broonie@opensource.wolfsonmicro.com \
--cc=jhnikula@gmail.com \
--cc=jy0922.shim@samsung.com \
--cc=kyungmin.park@samsung.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