diff options
author | Timur Tabi <[email protected]> | 2008-09-19 04:16:19 -0700 |
---|---|---|
committer | Dan Williams <[email protected]> | 2008-09-19 04:16:19 -0700 |
commit | 6b3141962dc82cfe1c30afdf91d564b309859cbe (patch) | |
tree | 51a0045ba900f44083fbd2693824414262534dbc /net/lapb/lapb_iface.c | |
parent | 89f72a0633d1d4f28c4c5c8831ec814523d7671a (diff) |
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 <[email protected]>
Signed-off-by: Timur Tabi <[email protected]>
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions