[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080918173258.2640000b@hskinnemo-gx745.norway.atmel.com>
Date: Thu, 18 Sep 2008 17:32:58 +0200
From: Haavard Skinnemoen <haavard.skinnemoen@...el.com>
To: Timur Tabi <timur@...escale.com>
Cc: dan.j.williams@...el.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] dmatest: properly handle duplicate DMA channels
Timur Tabi <timur@...escale.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@...escale.com>
Acked-by: Haavard Skinnemoen <haavard.skinnemoen@...el.com>
...though I don't really see why you have to use
list_for_entry_safe()...
Thanks a lot!
Haavard
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists