From: Dan Williams Date: Tue, 8 Jul 2008 18:58:21 +0000 (-0700) Subject: dmaengine: track the number of clients using a channel X-Git-Tag: v2.6.27-rc1~852^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7cc5bf9a3a84e5a02e23e5739fb894790b37c101;p=pandora-kernel.git dmaengine: track the number of clients using a channel Haavard's dma-slave interface would like to test for exclusive access to a channel. The standard channel refcounting is not sufficient in that it tracks more than just client references, it is also inaccurate as reference counts are percpu until the channel is removed. This change also enables a future fix to deallocate resources when a client declines to use a capable channel. Acked-by: Haavard Skinnemoen Signed-off-by: Dan Williams --- Reading git-diff-tree failed