Messages in this thread | | | Date | Thu, 18 Sep 2008 17:32:58 +0200 | From | Haavard Skinnemoen <> | Subject | Re: [PATCH] dmatest: properly handle duplicate DMA channels |
| |
Timur Tabi <timur@freescale.com> 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@freescale.com>
Acked-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
...though I don't really see why you have to use list_for_entry_safe()...
Thanks a lot!
Haavard
| |