From: Lars-Peter Clausen Date: Fri, 19 Apr 2013 09:42:13 +0000 (+0200) Subject: dma: of: Fix of_node reference leak X-Git-Tag: v3.10-rc1~41^2~1^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f22eb1402244885126c4263eb36b857e4182dd6f;p=pandora-kernel.git dma: of: Fix of_node reference leak of_dma_request_slave_channel() currently does not drop the reference to the dma_spec of_node if no DMA controller matching the of_node could be found. This patch fixes it by always calling of_node_put(). Signed-off-by: Lars-Peter Clausen Acked-by: Arnd Bergmann Reviewed-by: Jon Hunter Signed-off-by: Vinod Koul --- Reading git-diff-tree failed