projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drm/gma500: Use new drm_fb_helper functions
[firefly-linux-kernel-4.4.55.git]
/
lib
/
dma-debug.c
diff --git
a/lib/dma-debug.c
b/lib/dma-debug.c
index ae4b65e17e6486c7431fdc39335eab4cb15a0539..dace71fe41f707457468ec1ca3f8d94f756313a8 100644
(file)
--- a/
lib/dma-debug.c
+++ b/
lib/dma-debug.c
@@
-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;