Re: [PATCH] Patch Dreamcast AICA driver to handle Maple bus support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux