public inbox for linux-arm-kernel@lists.infradead.org 
 help / color / mirror / Atom feed
From: J.Lambrecht@TELEVIC•com (Lambrecht Jürgen)
To: linux-arm-kernel@lists•infradead.org
Subject: [RFC PATCH] ARM ASoC: add sound driver for imx27pdk using mc13783 codec
Date: Fri, 8 Jul 2011 16:19:22 +0200	[thread overview]
Message-ID: <4E1711EA.5070209@televic.com> (raw)
In-Reply-To: <201107081611.25998.philippe.retornaz@epfl.ch>

On 07/08/2011 04:11 PM, Philippe R?tornaz wrote:
>
> Le vendredi 8 juillet 2011 15:24:51, J?rgen Lambrecht a ?crit :
> > - Started from sound/soc/imx/phycore-mc13783.c
> > - Renamed to general "imx" because also valid for imx27pdk (3ds) and 
> other
> > 3ds platforms. Or should there be a file per platform?
>
> It's also valid on the mx31moboard platforms. So I guess it make sens 
> to have
> a general name.
>
ok
>
> > - Fixed some issues (add names, add read/write functions, changed
> > late_initcall to module_init, configure clock input pin) - Add debug
> > printing and comments.
> > - Result:
> >   * soundcard detection;
> >   * after creating /dev entries, aplay runs;
> >   * both 'aplay song.wav' and 'madplay song.mp3' give the same error:
> >     a time-out waiting for DMA (ALSA pcm_lib.c:1802: playback write 
> error
> > (DMA or IRQ trouble?)) * this driver uses the DMA method; the FIQ method
> > gives the same error
>
> Does it mean this doesn't work at all to play sound ? IIRC Sascha 
> driver used
> to work with the non-dmaengine implementation on 2.6.34.
>
indeed, doesn't work at all. I know it used to work on 2.6.34.
We also have a fsl linux 2.6.22 were it works.
I must say: when i use aplay to play a mono file, then there is no 
error, it just never ends, and no sound also.
For a stereo file, it gives the error.
Mark also that when I use madplay (v0.15.2) (or mp3play) to play a mono 
or stereo mp3, it allocates 3 DMA channels, but only frees one after the 
error.

J?rgen
>
>
> Thanks,
>
> Philippe
>


-- 
J?rgen Lambrecht
R&D Associate
Tel: +32 (0)51 303045    Fax: +32 (0)51 310670
http://www.televic-rail.com
Televic Rail NV - Leo Bekaertlaan 1 - 8870 Izegem - Belgium
Company number 0825.539.581 - RPR Kortrijk

  reply	other threads:[~2011-07-08 14:19 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-08 13:24 [RFC PATCH] ARM ASoC: add sound driver for imx27pdk using mc13783 codec Jürgen Lambrecht
2011-07-08 14:11 ` Philippe Rétornaz
2011-07-08 14:19   ` Lambrecht Jürgen [this message]
2011-07-27  8:28     ` Philippe Rétornaz
2011-07-29 19:14       ` Jürgen Lambrecht
2011-09-20 11:39         ` Philippe Rétornaz
2012-01-25 15:45       ` Philippe Rétornaz
2012-01-28 20:57         ` Fabio Estevam
2012-01-29 19:01           ` Philippe Rétornaz
2012-01-30 15:59             ` Fabio Estevam
2012-02-02 17:32             ` [alsa-devel] " Mark Brown
2012-02-03  7:45               ` Philippe Rétornaz
2012-02-03 11:58                 ` Mark Brown
2012-02-09 21:24                 ` Fabio Estevam
2011-07-09  2:25 ` Mark Brown
2011-07-11 10:30   ` Lambrecht Jürgen
2011-07-11 11:44     ` Mark Brown

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=4E1711EA.5070209@televic.com \
    --to=j.lambrecht@televic$(echo .)com \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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