summaryrefslogtreecommitdiff
path: root/arch/avr32
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2008-11-18 17:06:17 -0700
committerDan Williams <dan.j.williams@intel.com>2008-11-18 17:06:17 -0700
commit87fc7c7bdbfbf807a4df446b1432a55f4ec815fb (patch)
tree127566cf2a1786af368c9140d1de73adcb64ce5f /arch/avr32
parenta48f90e6ccfe16467c780673029f2dc71a1af1e0 (diff)
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 <haavard.skinnemoen@atmel.com> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'arch/avr32')
0 files changed, 0 insertions, 0 deletions