RE: [PATCH] dmaengine: Add privatecnt to revert DMA_PRIVATE propery

From: Sosnowski, Maciej
Date: Wed Mar 11 2009 - 04:35:04 EST


Atsushi Nemoto wrote:
> Currently dma_request_channel() set DMA_PRIVATE capability but never
> clear it. So if a public channel was once grabbed by
> dma_request_channel(), the device stay PRIVATE forever. Add
> privatecnt member to dma_device to correctly revert it.
>
> Signed-off-by: Atsushi Nemoto <anemo@xxxxxxxxxxxxx>
> ---

I think it's a good idea and the patch looks fine to me.

Acked-by: Maciej Sosnowski <maciej.sosnowski@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/