From: Takashi Iwai <tiwai@suse.de>
To: Russell King <rmk+alsa@arm.linux.org.uk>
Cc: Jaroslav Kysela <perex@suse.cz>, Roc Wu <cooloney@yahoo.com.cn>,
Clemens Ladisch <clemens@ladisch.de>,
Alsa-devel@lists.sourceforge.net
Subject: Re: An driver error when I using aplay!
Date: Mon, 07 Jun 2004 17:32:35 +0200 [thread overview]
Message-ID: <s5hzn7f2xkc.wl@alsa2.suse.de> (raw)
In-Reply-To: <20040607161812.F28526@flint.arm.linux.org.uk>
At Mon, 7 Jun 2004 16:18:12 +0100,
Russell King wrote:
>
> > No, the problematic line is:
> >
> > WARN_ON(chan->tx_substream != substream);
> >
> > It can't pass because chan->tx_substream is always NULL (as you wrote)
> > unless hw_params is called. The check is wrong.
>
> Ah, well, in my current version of this, I've completely removed that
> check. Whether there are any other changes, I've no idea.
I also won't debug this any more unless the code is opened
publicly...
> However,
> my current version doesn't work at all at the moment because its in
> the middle of having experimental DMA support added, rather than
> being sucky PIO-only.
Where we're here: I'd really like to fix the DMA problem of ALSA on
ARM. As I sent you before, the patch is already there but I have no
idea whether it's really right or not. Could you please comment
whether the assumptions below are correct?
- the page struct can be retrieved from dma_addr_t of
dma_alloc_coherent() like
virt_to_page(bus_to_virt(addr))
- adding pgprot_noncached() in fop->mmap callback assures that the
mmaped page is accessed without cache side effects.
thanks,
Takashi
-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
next prev parent reply other threads:[~2004-06-07 15:32 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-04 9:13 An driver error when I using aplay! Roc Wu
2004-06-07 3:04 ` Roc Wu
2004-06-07 7:24 ` Clemens Ladisch
2004-06-07 9:25 ` Roc Wu
2004-06-07 10:17 ` Russell King
2004-06-07 10:43 ` Jaroslav Kysela
2004-06-07 12:45 ` Takashi Iwai
2004-06-07 13:08 ` Russell King
2004-06-07 13:40 ` Takashi Iwai
2004-06-07 13:51 ` Russell King
2004-06-07 14:18 ` Takashi Iwai
2004-06-07 15:04 ` Russell King
2004-06-07 15:13 ` Takashi Iwai
2004-06-07 15:18 ` Russell King
2004-06-07 15:32 ` Takashi Iwai [this message]
2004-06-07 15:44 ` Russell King
2004-06-07 16:25 ` Takashi Iwai
2004-06-07 18:04 ` Russell King
2004-06-08 15:48 ` Takashi Iwai
2004-06-08 16:40 ` Russell King
2004-06-08 16:48 ` Takashi Iwai
2004-06-07 14:24 ` James Courtier-Dutton
2004-06-07 15:08 ` Russell King
2004-06-08 4:01 ` Roc Wu
2004-06-07 10:44 ` Developer docs missing from ALSA web server - was:Re: [Alsa-devel] " James Courtier-Dutton
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=s5hzn7f2xkc.wl@alsa2.suse.de \
--to=tiwai@suse.de \
--cc=Alsa-devel@lists.sourceforge.net \
--cc=clemens@ladisch.de \
--cc=cooloney@yahoo.com.cn \
--cc=perex@suse.cz \
--cc=rmk+alsa@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.