aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/arch/powerpc/sysdev/xilinx_intc.c
diff options
context:
space:
mode:
authorTimur Tabi <timur@freescale.com>2008-09-19 04:16:19 -0700
committerDan Williams <dan.j.williams@intel.com>2008-09-19 04:16:19 -0700
commit6b3141962dc82cfe1c30afdf91d564b309859cbe (patch)
tree51a0045ba900f44083fbd2693824414262534dbc /arch/powerpc/sysdev/xilinx_intc.c
parentdrivers/dma/ioat_dma.c: drop code after return (diff)
downloadwireguard-linux-6b3141962dc82cfe1c30afdf91d564b309859cbe.tar.xz
wireguard-linux-6b3141962dc82cfe1c30afdf91d564b309859cbe.zip
dmatest: properly handle duplicate DMA channels
Update the the dmatest driver so that it handles duplicate DMA channels properly. When a DMA client is notified of an available DMA channel, it must check if it has already allocated resources for that channel. If so, it should return DMA_DUP. This can happen, for example, if a DMA driver calls dma_async_device_register() more than once. Acked-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com> Signed-off-by: Timur Tabi <timur@freescale.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'arch/powerpc/sysdev/xilinx_intc.c')
0 files changed, 0 insertions, 0 deletions