From: Santosh Shilimkar Date: Thu, 24 Apr 2014 15:30:03 +0000 (-0400) Subject: of: introduce of_dma_is_coherent() helper X-Git-Tag: omap-for-v3.16/fixes-against-rc1~52^2~4^2^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92ea637edea36e58236e3124f199161da6f5c5de;p=pandora-kernel.git of: introduce of_dma_is_coherent() helper The of_dma_is_coherent() helper parses the given DT device node to see if the "dma-coherent" property is supported and returns true or false accordingly. If the arch is always coherent or always noncoherent, then the default DMA ops has to be specified accordingly. Cc: Greg Kroah-Hartman Cc: Russell King Cc: Arnd Bergmann Cc: Olof Johansson Cc: Grant Likely Cc: Catalin Marinas Cc: Linus Walleij Reviewed-by: Rob Herring Signed-off-by: Santosh Shilimkar Signed-off-by: Grygorii Strashko --- Reading git-diff-tree failed