]> 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>
Wed, 2 Nov 2011 11:51:18 +0000 (20:51 +0900)
commit982940a0745ae41f3627d1c0dde6d2f9a895f608
tree0b7212fa1985666e6f1a8e24815600f86a5acdf2
parentbdf63d63fc3328b1c5848cee2317bd334a23b992
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