From: Atsushi Nemoto Date: Fri, 6 Mar 2009 11:07:14 +0000 (+0900) Subject: dmaengine: Add privatecnt to revert DMA_PRIVATE property X-Git-Tag: v2.6.30-rc1~225^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f571515c332e00b3515dbe0859ceaa30ab66e00;p=pandora-kernel.git dmaengine: Add privatecnt to revert DMA_PRIVATE property 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. [lg@denx.de: fix bad usage of 'chan' in dma_async_device_register] Signed-off-by: Atsushi Nemoto Acked-by: Maciej Sosnowski Signed-off-by: Dan Williams --- Reading git-diff-tree failed