dma-debug: add a check dma memory leaks
authorJoerg Roedel <joerg.roedel@amd.com>
Mon, 16 Mar 2009 16:32:14 +0000 (17:32 +0100)
committerJoerg Roedel <joerg.roedel@amd.com>
Tue, 17 Mar 2009 11:56:49 +0000 (12:56 +0100)
Impact: allow architectures to monitor busses for dma mem leakage

This patch adds checking code to detect if a device has pending DMA
operations when it is about to be unbound from its device driver.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>

No differences found