lkml.org 
[lkml]   [2007]   [Sep]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [alsa-devel] [PATCH] Patch Dreamcast AICA driver to handle Maple bus support
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-09-10 23:29    [W:0.059 / U:1.556 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site