diff options
author | Vladimir Zapolskiy <vz@mleia.com> | 2011-08-18 06:24:54 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2011-08-18 06:24:54 -0400 |
commit | 2c929420e8b532c14688dcd500253b90a24e7233 (patch) | |
tree | 323d538eee970867f77ccd1b8c9e57c376a21cc6 /arch | |
parent | 93ee7a9340d64f20295aacc3fb6a22b759323280 (diff) |
ARM: EXYNOS4: use dma-pl330 device name for clock
This change replaces s3c-pl330.x clock device names with dma-pl330.x,
otherwise there won't be a correspondence between clock device name
and amba device name, thus clocks can't be enabled.
Fixes runtime errors on clk_get() from drivers/dma/pl330.c:
dma-pl330 dma-pl330.0: Cannot get operation clock.
dma-pl330: probe of dma-pl330.0 failed with error -22
Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Acked-by: Boojin Kim <boojin.kim@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-exynos4/clock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-exynos4/clock.c b/arch/arm/mach-exynos4/clock.c index 851dea018578..c7b622587229 100644 --- a/arch/arm/mach-exynos4/clock.c +++ b/arch/arm/mach-exynos4/clock.c | |||
@@ -455,12 +455,12 @@ static struct clk init_clocks_off[] = { | |||
455 | .ctrlbit = (1 << 10), | 455 | .ctrlbit = (1 << 10), |
456 | }, { | 456 | }, { |
457 | .name = "pdma", | 457 | .name = "pdma", |
458 | .devname = "s3c-pl330.0", | 458 | .devname = "dma-pl330.0", |
459 | .enable = exynos4_clk_ip_fsys_ctrl, | 459 | .enable = exynos4_clk_ip_fsys_ctrl, |
460 | .ctrlbit = (1 << 0), | 460 | .ctrlbit = (1 << 0), |
461 | }, { | 461 | }, { |
462 | .name = "pdma", | 462 | .name = "pdma", |
463 | .devname = "s3c-pl330.1", | 463 | .devname = "dma-pl330.1", |
464 | .enable = exynos4_clk_ip_fsys_ctrl, | 464 | .enable = exynos4_clk_ip_fsys_ctrl, |
465 | .ctrlbit = (1 << 1), | 465 | .ctrlbit = (1 << 1), |
466 | }, { | 466 | }, { |