From: Lars-Peter Clausen Date: Sat, 11 Jan 2014 19:08:39 +0000 (+0100) Subject: dma: pl330: Use dma_get_slave_channel() in the of xlate callback X-Git-Tag: v3.14-rc1~48^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70cbb163de1c6de239375b967caf372a98fae935;p=pandora-kernel.git dma: pl330: Use dma_get_slave_channel() in the of xlate callback Currently the driver uses dma_request_channel() with a custom filter function to find the requested channel. This will loop over all available channels until the one we want has been found, but we already know which channel we want to request, so we can dma_get_slave_channel(). This also makes the code a bit shorter cleaner. Signed-off-by: Lars-Peter Clausen Signed-off-by: Vinod Koul --- Reading git-diff-tree failed