]> 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>
Thu, 3 Nov 2011 02:08:50 +0000 (11:08 +0900)
commit667ab68cde0a83bc49559fb686036dd451a394ef
tree473fd353081fbcd507c576dce3355af4eb02abf0
parente221822cd2ab9147f3d4be9d93d9deba559b7d84
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