From: Dan Williams Date: Tue, 6 Jan 2009 18:38:15 +0000 (-0700) Subject: dmatest: convert to dma_request_channel X-Git-Tag: v2.6.29-rc1~39^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33df8ca068123457db56c316946a3c0e4ef787d6;p=pandora-kernel.git dmatest: convert to dma_request_channel Replace the client registration infrastructure with a custom loop to poll for channels. Once dma_request_channel returns NULL stop asking for channels. A userspace side effect of this change if that loading the dmatest module before loading a dma driver will result in no channels being found, previously dmatest would get a callback. To facilitate testing in the built-in case dmatest_init is marked as a late_initcall. Another side effect is that channels under test can not be used for any other purpose. Cc: Haavard Skinnemoen Reviewed-by: Andrew Morton Signed-off-by: Dan Williams --- Reading git-diff-tree failed