Skip to contentSkip to conversation

s3c-fb: Add support EXYNOS4 FIMD

PATCH JinGoo Han 1 participant 1 message Jun 17, 2011 Arm Samsung Exynos

lore
Share & tools
lore

JinGoo Han

author
#0 lore raw

Review

Quoted 6 lines
        clk_enable(sfb->bus_clk);
(quoted diff) +5 -0
+       if (!sfb->variant.has_clksel) {
+               clk_enable(sfb->bus_clk);
+               pd->enable_clk(pdev, &sfb->lcd_clk);
+
+       }

This is fixed as follows:

        sfb->bus_clk = clk_get(dev, "lcd");
        if (IS_ERR(sfb->bus_clk)) {
                dev_err(dev, "failed to get bus clock\n");
                ret = PTR_ERR(sfb->bus_clk);
                goto err_sfb;
         }
        clk_enable(sfb->bus_clk);

+ if (!sfb->variant.has_clksel)
+ pd->enable_clk(pdev, &sfb->lcd_clk);