mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Cliff Cai <xcahua@hotmail.com>
To: Mark Brown <broonie@sirena.org.uk>
Cc: <linux-kernel@vger.kernel.org>, Bryan Wu <cooloney@kernel.org>,
	<alsa-devel@alsa-project.org>, <lrg@kernel.org>
Subject: RE: [alsa-devel] [PATCH 1/4] ASOC: Blackfin driver for ALSA SoC framework
Date: Thu, 4 Sep 2008 03:54:10 +0000	[thread overview]
Message-ID: <BAY110-W23D3CD96F1CD07678A9100C9590@phx.gbl> (raw)
In-Reply-To: <20080903103850.GA20438@sirena.org.uk>





> Date: Wed, 3 Sep 2008 11:38:52 +0100
> From: broonie@sirena.org.uk
> To: Cliff.Cai@analog.com
> CC: linux-kernel@vger.kernel.org; cooloney@kernel.org; alsa-devel@alsa-project.org; lrg@kernel.org
> Subject: Re: [alsa-devel] [PATCH 1/4] ASOC: Blackfin driver for ALSA SoC framework
>
> On Wed, Sep 03, 2008 at 12:09:49PM +0800, Cai, Cliff wrote:
>
> Cliff, please fix your mail client configuration - the formatting of
> your reply makes little (if any) distinction between the text of my
> original mail which makes your message difficult to read.
>
>> -----Original Message-----
>> From: Mark Brown [mailto:broonie@sirena.org.uk]
>> Sent: Wednesday, August 27, 2008 9:49 PM
>> To: Bryan Wu
>> Cc: perex@perex.cz; lrg@kernel.org; alsa-devel@alsa-project.org;
>> linux-kernel@vger.kernel.org; Cliff Cai
>> Subject: Re: [PATCH 1/4] ASOC: Blackfin driver for ALSA SoC framework
>
>> On Wed, Aug 27, 2008 at 05:39:25PM +0800, Bryan Wu wrote:
>>> From: Cliff Cai 
>
>>>Again, odd blank lines and presumably there needs to be something to
>> undo things on error?
>
>> t's not necessary to do anything else on error, these functions only set
>> registers.
>
> And none of these settings will leave things so that the port looks busy
> or anything like that?


No,they are called just to configure somthing but won't start it,it only fails when the port is busy.


>
>> TX and RX Clocks are also not independent,currently,in order to
>> implement full duplex,we have to enable both RX and TX side even if
>> there is only a steam is opened,
>> And make the other side running on a dummy buffer,so all registers
>> cann't be configured any more. when the second stream is opened we just
>> switch the DMA form dummy buffer to the normal data buffer.
>
> Right, in that case your driver should use constraints to stop
> applications trying to configure the capture and playback sides
> differently.
>
>>>I'm also not seeing the code that configures the sample rate anywhere -
>> but then it looks like the driver only support slave mode ATM? That's
>> what the machine driver is
>>>using. There should still be a set_fmt() to document what's supported
>> if nothing else.
>
>> Yes ,the codec runs in master mode and provides bit clock..Do you mean
>> just implement a dummy set_fmt() with comments for CPU DAI,
>
> It shouldn't just be a dummy - it should reject DAI formats other than
> CBS_CFM if that is the only configuration that's supported.
>
>> Refer to my description above,it's not possible to configure anything
>> for CPU DAI after a stream is opened ,that why we have to configure CPU
>> DAI before any stream is opened.
>
> This is normal (and generally trying would result in audio artifacts if
> you try), but normally there is at least some configuration that can be
> done before the stream actually starts running.
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

_________________________________________________________________
一边聊天一边快速搜索,并把结果共享给好友,立刻试试!
http://im.live.cn/Share/18.htm

  reply	other threads:[~2008-09-04  4:00 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-27  9:39 [PATCH 0/4] Blackfin supports for ALSA/ASOC Bryan Wu
2008-08-27  9:39 ` [PATCH 1/4] ASOC: Blackfin driver for ALSA SoC framework Bryan Wu
2008-08-27 13:48   ` Mark Brown
2008-09-03  4:09     ` Cai, Cliff
2008-09-03 10:38       ` Mark Brown
2008-09-04  3:54         ` Cliff Cai [this message]
2008-08-27  9:39 ` [PATCH 2/4] ASOC codec: add support for SSM2602 audio codec in " Bryan Wu
2008-08-27 10:54   ` [alsa-devel] " Mark Brown
2008-08-28  5:55     ` Bryan Wu
2008-08-28 10:06       ` Mark Brown
2008-08-28 11:44         ` Jean Delvare
2008-08-27  9:39 ` [PATCH 3/4] ASOC: WM8731 codec: add SPI support as well as I2C Bryan Wu
2008-08-27 11:01   ` [alsa-devel] " Mark Brown
2008-08-28  3:46     ` Bryan Wu
2008-08-28 10:14       ` Mark Brown
2008-08-28 12:47         ` Takashi Iwai
2008-08-28 13:01           ` Mark Brown
2008-09-01 13:52   ` Alan Horstmann
2008-09-01 14:00     ` Liam Girdwood
2008-09-01 14:02     ` Mark Brown
2008-08-27  9:39 ` [PATCH 4/4] ALSA: add dummy function to support shared mmap in nommu Blackfin arch Bryan Wu
2008-08-28 12:44   ` Takashi Iwai
2008-09-02  3:16     ` Cai, Cliff
2008-09-02  9:41       ` Takashi Iwai
2008-09-02  9:59         ` Bryan Wu

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=BAY110-W23D3CD96F1CD07678A9100C9590@phx.gbl \
    --to=xcahua@hotmail.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@sirena.org.uk \
    --cc=cooloney@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lrg@kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®