On Mon, Jul 23, 2007 at 10:05:46PM +0100, Adrian McMenamin wrote:
> The current SH DMA API is somewhat broken, not correctly matching
> virtual channel to the correct SH DMAC. This wasn't noticeable when
> using g2 DMA for the sound driver - one channel 0 is as good as any
> other! - but caused the
The current SH DMA API is somewhat broken, not correctly matching
virtual channel to the correct SH DMAC. This wasn't noticeable when
using g2 DMA for the sound driver - one channel 0 is as good as any
other! - but caused the pvr2 driver to fail.
This patch fixes the pvr2 problem and consequently
On Thursday 19 July 2007, Adrian McMenamin wrote:
> Signed-off by: Adrian McMenamin <[EMAIL PROTECTED]>
> @@ -183,6 +183,7 @@ int dmac_search_free_channel(const char *dev_id)
> return result;
>
> atomic_set(&channel->busy, 1);
> +
> return channel->
Signed-off by: Adrian McMenamin <[EMAIL PROTECTED]>
diff --git a/arch/sh/drivers/dma/dma-api.c
b/arch/sh/drivers/dma/dma-api.c
index cf8e119..0c9b3bc 100644
--- a/arch/sh/drivers/dma/dma-api.c
+++ b/arch/sh/drivers/dma/dma-api.c
@@ -31,8 +31,8 @@ struct dma_info *get_dma_info(unsigned int chan)
4 matches
Mail list logo