lkml.org 
[lkml]   [2008]   [Sep]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2008-09-18 17:35    [W:0.078 / U:0.756 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site