Re: [Alsa-devel] Re: Patch for AICA sound support on SEGA Dreamcast

From: Adrian McMenamin
Date: Mon Apr 03 2006 - 18:39:58 EST


On Mon, 2006-04-03 at 20:29 +0200, Takashi Iwai wrote:

>
> Anyway, you should use dma_wait_for_completion() instead of your
> home-made one.
>
The dma_wait_for_completion is broken for g2 dma afaics. Paul - would
you concur?

(Unfortunately the dma_residue register in g2 does not stick at 0 when
there is no residue but returns to the size of the completed dma
transfer. Therefore I can really see no alternative but to writing my
own unless Paul has a better idea.)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/