Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: javier Martin <javier.martin@vista-silicon.com>
To: alsa-devel@alsa-project.org, linux-arm-kernel@lists.arm.linux.org.uk
Subject: DMA HW bug in MX2x platforms?
Date: Fri, 24 Jul 2009 09:37:33 +0200	[thread overview]
Message-ID: <eedb5540907240037u2cb8fbfap84f02727621261d9@mail.gmail.com> (raw)

I am currently working on an ASoC driver for mx2x platforms. I am
porting an old working ASoC driver for 2.6.22 + Freescale BSP kernel
to current 2.6.30 kernel.

Among other things, I had to translate old Freescale's DMA api to the
one provided in 2.6.30 for i.mx2x platforms.

Here I will describe the problem that I am having:
in "aplay" I am using (buffer_size/period_size=4), each
(2*period_size) samples I have some erroneous ones that should come
(buffer_size) samples later, and this relation is valid for several
values with (buffer_size/period_size=4).

I have a trace log with all details for DMA transfers that I have
compared for both 2.6.22 and new 2.6.30 and they are identical. Some
people has also told me that there could be a problem with DMA in mx2x
platforms.

Do you have knowledge of this kind of problem? Is there a new DMA
version for mx2x in any git repository?

-- 
Javier Martin
Vista Silicon S.L.
Universidad de Cantabria
CDTUC - FASE C - Oficina S-345
Avda de los Castros s/n
39005- Santander. Cantabria. Spain
+34 942 25 32 60
www.vista-silicon.com

             reply	other threads:[~2009-07-24  7:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-24  7:37 javier Martin [this message]
2009-07-31  9:52 ` DMA HW bug in MX2x platforms? Daniel Mack
2009-07-31 10:01   ` 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=eedb5540907240037u2cb8fbfap84f02727621261d9@mail.gmail.com \
    --to=javier.martin@vista-silicon.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=linux-arm-kernel@lists.arm.linux.org.uk \
    /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