Re: [PATCH v2] dmatest: properly handle duplicate DMA channels

From: Haavard Skinnemoen
Date: Thu Sep 18 2008 - 12:18:19 EST


Timur Tabi <timur@xxxxxxxxxxxxx> wrote:
> Update the the dmatest driver so that it handles duplicate DMA channels
> properly.
>
> When a DMA client is notified of an available DMA channel, it must check if it
> has already allocated resources for that channel. If so, it should return
> DMA_DUP. This can happen, for example, if a DMA driver calls
> dma_async_device_register() more than once.
>
> Signed-off-by: Timur Tabi <timur@xxxxxxxxxxxxx>

Acked-by: Haavard Skinnemoen <haavard.skinnemoen@xxxxxxxxx>
--
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/