From: Florian Fainelli Date: Wed, 10 Dec 2014 23:41:23 +0000 (-0800) Subject: dma-debug: introduce dma_debug_disabled X-Git-Tag: omap-for-v3.20/drop-legacy-3517~139^2~185 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01ce18b31153427bcdccc9c9fd170fd28c03e6e8;p=pandora-kernel.git dma-debug: introduce dma_debug_disabled Add a helper function which returns whether the DMA debugging API is disabled, right now we only check for global_disable, but in order to accommodate early callers of the DMA-API, we will check for more initialization flags in the next patch. Signed-off-by: Florian Fainelli Cc: Dan Williams Cc: Jiri Kosina Cc: Horia Geanta Cc: Brian Norris Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed