]> git.karo-electronics.de Git - karo-tx-linux.git/commit
DMA: PL330: move filter function into driver
authorThomas Abraham <thomas.abraham@linaro.org>
Mon, 24 Oct 2011 09:43:02 +0000 (11:43 +0200)
committerKukjin Kim <kgene.kim@samsung.com>
Tue, 8 Nov 2011 10:05:30 +0000 (19:05 +0900)
commitd8c904e2d8365b1e1e47ba98cb84fcbd3d3c9349
treec1cf8eddc02fb44511bff50b32e519bc95d550bc
parent654dd877a99e566ad8312cdc52e79e44460f586d
DMA: PL330: move filter function into driver

The dma channel selection filter function is moved from plat-samsung
into the pl330 driver. In additon to that, a check is added in the
filter function to ensure that the channel on which the filter has
been invoked is pl330 channel instance (and avoid any incorrect
access of chan->private in a system with multiple types of DMA
drivers).

Suggested-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org>
Acked-by: Jassi Brar <jassisinghbrar@gmail.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/plat-samsung/dma-ops.c
drivers/dma/pl330.c
include/linux/amba/pl330.h