linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: s.hauer@pengutronix.de (Sascha Hauer)
To: linux-arm-kernel@lists.infradead.org
Subject: [alsa-devel] [PATCH V2] Add i.MX sound support
Date: Mon, 30 Nov 2009 14:19:42 +0100	[thread overview]
Message-ID: <20091130131942.GR27548@pengutronix.de> (raw)
In-Reply-To: <eedb5540911300513j3730078v1393b9b42dca497b@mail.gmail.com>

On Mon, Nov 30, 2009 at 02:13:47PM +0100, javier Martin wrote:
> 2009/11/30 Sascha Hauer <s.hauer@pengutronix.de>
> 
> > On Mon, Nov 30, 2009 at 11:43:23AM +0100, javier Martin wrote:
> > > Hi Sascha,
> > > have you tested capture direction on an i.MX27 based board?
> > >
> > > I have been testing your patches in the place you suggested and playback
> > > seems to work fine but I have several problems with capture stream. I
> > found
> > > a BUG in the audmux_v1 code
> > > and I have fixed it but I am still having problems with capture. The file
> > > keeps empty and nothing is recorded.
> >
> > Capture works fine on my boards.
> >
> >
> >
> > > Please could you try the following on an i.MX27 based board?
> > >
> > > arecord -t raw -c 1 -f S16_LE test.wav
> >
> > Does it work with two channels? Do you use DMA or FIQ? Could you try the
> > other variant?
> >
> 
>  Unfortunately, I can't test it using two channels because our board has a
> wm8974 mono codec. Please could you point me how can I change between FIQ
> and DMA? I thought FIQ was only for AC97,

It's around line 662:


	if ((cpu_is_mx27() || cpu_is_mx21()) &&
			!(ssi->flags & IMX_SSI_USE_AC97)) {
		ssi->flags |= IMX_SSI_DMA;
		platform = imx_ssi_dma_mx2_init(pdev, ssi);
	} else
		platform = imx_ssi_fiq_init(pdev, ssi);

Just make sure IMX_SSI_DMA is cleared and imx_ssi_fiq_init() is called.

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

      reply	other threads:[~2009-11-30 13:19 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-25 15:41 [PATCH V2] Add i.MX sound support Sascha Hauer
2009-11-25 15:41 ` [PATCH 1/3] ASoC: Add a new imx-ssi sound driver Sascha Hauer
2009-11-25 15:41   ` [PATCH 2/3] ASoC: add phycore-ac97 sound support Sascha Hauer
2009-11-25 15:41     ` [PATCH 3/3] ASoC i.MX: remove old i.MX driver Sascha Hauer
2009-11-25 15:53       ` Mark Brown
2009-11-25 15:43     ` [PATCH 2/3] ASoC: add phycore-ac97 sound support Mark Brown
2009-11-25 15:58   ` [PATCH 1/3] ASoC: Add a new imx-ssi sound driver Mark Brown
2009-11-30 16:40     ` javier Martin
2009-11-30 17:09       ` javier Martin
2009-12-01 15:49         ` Sascha Hauer
2009-12-18 14:18           ` javier Martin
2010-01-08 16:18             ` [alsa-devel] " Mark Brown
2009-11-26 15:53 ` [alsa-devel] [PATCH V2] Add i.MX sound support javier Martin
2009-11-26 16:05   ` Mark Brown
2009-11-27  7:58   ` Sascha Hauer
2009-11-27  9:01     ` javier Martin
2009-11-27  9:54       ` Sascha Hauer
2009-11-30 10:43         ` javier Martin
2009-11-30 12:43           ` Sascha Hauer
2009-11-30 13:13             ` javier Martin
2009-11-30 13:19               ` Sascha Hauer [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=20091130131942.GR27548@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).