diff options
-rw-r--r-- | arch/arm/mach-shmobile/clock-sh7372.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-shmobile/clock-sh73a0.c | 4 | ||||
-rw-r--r-- | drivers/video/sh_mipi_dsi.c | 4 |
3 files changed, 5 insertions, 7 deletions
diff --git a/arch/arm/mach-shmobile/clock-sh7372.c b/arch/arm/mach-shmobile/clock-sh7372.c index 995a9c3aec8f..1ebab171e4f7 100644 --- a/arch/arm/mach-shmobile/clock-sh7372.c +++ b/arch/arm/mach-shmobile/clock-sh7372.c | |||
@@ -612,8 +612,8 @@ static struct clk_lookup lookups[] = { | |||
612 | CLKDEV_CON_ID("hdmi_clk", &div6_reparent_clks[DIV6_HDMI]), | 612 | CLKDEV_CON_ID("hdmi_clk", &div6_reparent_clks[DIV6_HDMI]), |
613 | CLKDEV_ICK_ID("dsit_clk", "sh-mipi-dsi.0", &div6_clks[DIV6_DSIT]), | 613 | CLKDEV_ICK_ID("dsit_clk", "sh-mipi-dsi.0", &div6_clks[DIV6_DSIT]), |
614 | CLKDEV_ICK_ID("dsit_clk", "sh-mipi-dsi.1", &div6_clks[DIV6_DSIT]), | 614 | CLKDEV_ICK_ID("dsit_clk", "sh-mipi-dsi.1", &div6_clks[DIV6_DSIT]), |
615 | CLKDEV_ICK_ID("dsi0p_clk", "sh-mipi-dsi.0", &div6_clks[DIV6_DSI0P]), | 615 | CLKDEV_ICK_ID("dsip_clk", "sh-mipi-dsi.0", &div6_clks[DIV6_DSI0P]), |
616 | CLKDEV_ICK_ID("dsi1p_clk", "sh-mipi-dsi.1", &div6_clks[DIV6_DSI1P]), | 616 | CLKDEV_ICK_ID("dsip_clk", "sh-mipi-dsi.1", &div6_clks[DIV6_DSI1P]), |
617 | 617 | ||
618 | /* MSTP32 clocks */ | 618 | /* MSTP32 clocks */ |
619 | CLKDEV_DEV_ID("i2c-sh_mobile.2", &mstp_clks[MSTP001]), /* IIC2 */ | 619 | CLKDEV_DEV_ID("i2c-sh_mobile.2", &mstp_clks[MSTP001]), /* IIC2 */ |
diff --git a/arch/arm/mach-shmobile/clock-sh73a0.c b/arch/arm/mach-shmobile/clock-sh73a0.c index 61a846bb30f2..3da30bac518e 100644 --- a/arch/arm/mach-shmobile/clock-sh73a0.c +++ b/arch/arm/mach-shmobile/clock-sh73a0.c | |||
@@ -319,8 +319,8 @@ static struct clk_lookup lookups[] = { | |||
319 | CLKDEV_CON_ID("sdhi2_clk", &div6_clks[DIV6_SDHI2]), | 319 | CLKDEV_CON_ID("sdhi2_clk", &div6_clks[DIV6_SDHI2]), |
320 | CLKDEV_ICK_ID("dsit_clk", "sh-mipi-dsi.0", &div6_clks[DIV6_DSIT]), | 320 | CLKDEV_ICK_ID("dsit_clk", "sh-mipi-dsi.0", &div6_clks[DIV6_DSIT]), |
321 | CLKDEV_ICK_ID("dsit_clk", "sh-mipi-dsi.1", &div6_clks[DIV6_DSIT]), | 321 | CLKDEV_ICK_ID("dsit_clk", "sh-mipi-dsi.1", &div6_clks[DIV6_DSIT]), |
322 | CLKDEV_ICK_ID("dsi0p_clk", "sh-mipi-dsi.0", &div6_clks[DIV6_DSI0P]), | 322 | CLKDEV_ICK_ID("dsip_clk", "sh-mipi-dsi.0", &div6_clks[DIV6_DSI0P]), |
323 | CLKDEV_ICK_ID("dsi1p_clk", "sh-mipi-dsi.1", &div6_clks[DIV6_DSI1P]), | 323 | CLKDEV_ICK_ID("dsip_clk", "sh-mipi-dsi.1", &div6_clks[DIV6_DSI1P]), |
324 | 324 | ||
325 | /* MSTP32 clocks */ | 325 | /* MSTP32 clocks */ |
326 | CLKDEV_DEV_ID("i2c-sh_mobile.2", &mstp_clks[MSTP001]), /* I2C2 */ | 326 | CLKDEV_DEV_ID("i2c-sh_mobile.2", &mstp_clks[MSTP001]), /* I2C2 */ |
diff --git a/drivers/video/sh_mipi_dsi.c b/drivers/video/sh_mipi_dsi.c index 72ee96bc6b3e..4aa5053febf1 100644 --- a/drivers/video/sh_mipi_dsi.c +++ b/drivers/video/sh_mipi_dsi.c | |||
@@ -363,7 +363,6 @@ static int __init sh_mipi_probe(struct platform_device *pdev) | |||
363 | struct resource *res2 = platform_get_resource(pdev, IORESOURCE_MEM, 1); | 363 | struct resource *res2 = platform_get_resource(pdev, IORESOURCE_MEM, 1); |
364 | unsigned long rate, f_current; | 364 | unsigned long rate, f_current; |
365 | int idx = pdev->id, ret; | 365 | int idx = pdev->id, ret; |
366 | char dsip_clk[] = "dsi.p_clk"; | ||
367 | 366 | ||
368 | if (!res || !res2 || idx >= ARRAY_SIZE(mipi_dsi) || !pdata) | 367 | if (!res || !res2 || idx >= ARRAY_SIZE(mipi_dsi) || !pdata) |
369 | return -ENODEV; | 368 | return -ENODEV; |
@@ -428,8 +427,7 @@ static int __init sh_mipi_probe(struct platform_device *pdev) | |||
428 | 427 | ||
429 | dev_dbg(&pdev->dev, "DSI-T clk %lu -> %lu\n", f_current, rate); | 428 | dev_dbg(&pdev->dev, "DSI-T clk %lu -> %lu\n", f_current, rate); |
430 | 429 | ||
431 | sprintf(dsip_clk, "dsi%1.1dp_clk", idx); | 430 | mipi->dsip_clk = clk_get(&pdev->dev, "dsip_clk"); |
432 | mipi->dsip_clk = clk_get(&pdev->dev, dsip_clk); | ||
433 | if (IS_ERR(mipi->dsip_clk)) { | 431 | if (IS_ERR(mipi->dsip_clk)) { |
434 | ret = PTR_ERR(mipi->dsip_clk); | 432 | ret = PTR_ERR(mipi->dsip_clk); |
435 | goto eclkpget; | 433 | goto eclkpget; |