ARM: SAMSUNG: Move DMA clock enable into S3C PL330 driver
authorSeungwhan Youn <sw.youn@samsung.com>
Tue, 19 Oct 2010 09:44:16 +0000 (18:44 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Mon, 25 Oct 2010 07:10:56 +0000 (16:10 +0900)
commit6c69abb27f1a7e2c15a678fb9e7ab55293c8f820
treefc6ff6d84d3ff4f13d04cc98fdcce2e0f62e5258
parent9d59c17ab5e0d1891f10df951d8e5fc0c83cb966
ARM: SAMSUNG: Move DMA clock enable into S3C PL330 driver

This patch moves DMA clock enable functionality into pl330_probe() of
plat-samsung/s3c_pl330.c (PL330 DMAC driver) and disable functionality
into pl330_remove().
For now according to clock policy of Samsung SoCs' mainline, clocks which
are used in the driver should be controlled by each own.

Signed-off-by: Seungwhan Youn <sw.youn@samsung.com>
Acked-by: Jassi Brar <jassi.brar@samsung.com>
[kgene.kim@samsung.com: minor title and comment edit]
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/plat-samsung/s3c-pl330.c