mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-23 04:34:11 +08:00
ARM: S5PV210: 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>
This commit is contained in:
parent
d20cc4c1b6
commit
1ce3ea61c6
@ -290,13 +290,13 @@ static struct clk_ops clk_fout_apll_ops = {
|
|||||||
static struct clk init_clocks_off[] = {
|
static struct clk init_clocks_off[] = {
|
||||||
{
|
{
|
||||||
.name = "pdma",
|
.name = "pdma",
|
||||||
.devname = "s3c-pl330.0",
|
.devname = "dma-pl330.0",
|
||||||
.parent = &clk_hclk_psys.clk,
|
.parent = &clk_hclk_psys.clk,
|
||||||
.enable = s5pv210_clk_ip0_ctrl,
|
.enable = s5pv210_clk_ip0_ctrl,
|
||||||
.ctrlbit = (1 << 3),
|
.ctrlbit = (1 << 3),
|
||||||
}, {
|
}, {
|
||||||
.name = "pdma",
|
.name = "pdma",
|
||||||
.devname = "s3c-pl330.1",
|
.devname = "dma-pl330.1",
|
||||||
.parent = &clk_hclk_psys.clk,
|
.parent = &clk_hclk_psys.clk,
|
||||||
.enable = s5pv210_clk_ip0_ctrl,
|
.enable = s5pv210_clk_ip0_ctrl,
|
||||||
.ctrlbit = (1 << 4),
|
.ctrlbit = (1 << 4),
|
||||||
|
Loading…
Reference in New Issue
Block a user