From: Takashi Iwai <tiwai@suse.de>
To: "Adrian McMenamin" <adrianmcmenamin@gmail.com>
Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org,
linuxsh-dev@lists.sourceforge.net,
Paul Mundt <lethal@linux-sh.org>
Subject: Re: [alsa-devel] [PATCH] Patch Dreamcast AICA driver to handle Maple bus support
Date: Mon, 10 Sep 2007 23:26:49 +0200 [thread overview]
Message-ID: <s5hejh6qkiu.wl%tiwai@suse.de> (raw)
In-Reply-To: <92a12cdb0709091322r5dd65f5dse0668cff4fbd43b0@mail.gmail.com>
At Sun, 9 Sep 2007 21:22:17 +0100,
Adrian McMenamin wrote:
>
> @@ -218,6 +219,12 @@ static int aica_dma_transfer(int channels, int buffer_size,
> period_offset = dreamcastcard->clicks;
> period_offset %= (AICA_PERIOD_NUMBER / channels);
> runtime = substream->runtime;
> + /* If maple dma is running, wait for it to finish */
> + do{ cpu_relax();}
> + while (!maple_dma_done());
This coding style is ugly. Could you fix?
Takashi
prev parent reply other threads:[~2007-09-10 21:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-09 20:22 Adrian McMenamin
2007-09-10 21:26 ` Takashi Iwai [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=s5hejh6qkiu.wl%tiwai@suse.de \
--to=tiwai@suse.de \
--cc=adrianmcmenamin@gmail.com \
--cc=alsa-devel@alsa-project.org \
--cc=lethal@linux-sh.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxsh-dev@lists.sourceforge.net \
/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®