staging: wilc1000: coreconfigurator.c: fix kmalloc error check
[deliverable/linux.git] / lib / dma-debug.c
index ae4b65e17e6486c7431fdc39335eab4cb15a0539..dace71fe41f707457468ec1ca3f8d94f756313a8 100644 (file)
@@ -574,6 +574,9 @@ void debug_dma_assert_idle(struct page *page)
        unsigned long flags;
        phys_addr_t cln;
 
+       if (dma_debug_disabled())
+               return;
+
        if (!page)
                return;
 
This page took 0.023808 seconds and 5 git commands to generate.