summaryrefslogtreecommitdiff
path: root/drivers/video/da8xx-fb.c
diff options
context:
space:
mode:
authorManjunathappa <prakash.pm@ti.com>2012-11-20 16:41:01 +0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2012-11-27 13:52:40 +0400
commit81cec3c7566b8498f93d4f47225241875ab4968c (patch)
tree32dd402c43cfc75413995a8a6e80eea429095241 /drivers/video/da8xx-fb.c
parent3b43ad201dea06be1636e4809278d63837f8d292 (diff)
downloadlinux-81cec3c7566b8498f93d4f47225241875ab4968c.tar.xz
video: da8xx-fb: clk_get on connection id fck
do clk_get on connection id "fck" to support OMAP based platforms having multiple clocks for module. Without this driver change clk_get fails on am335x. This patch is based on the discussion in community http://marc.info/?l=linux-kernel&m=135166018907827&w=2 Signed-off-by: Manjunathappa <prakash.pm@ti.com> Cc: Vaibhav Hiremath <hvaibhav@ti.com> Acked-by: Sekhar Nori <nsekhar@ti.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/da8xx-fb.c')
-rw-r--r--drivers/video/da8xx-fb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-fb.c
index 3fd9ec5f993a..f2ceb65f523b 100644
--- a/drivers/video/da8xx-fb.c
+++ b/drivers/video/da8xx-fb.c
@@ -1248,7 +1248,7 @@ static int __devinit fb_probe(struct platform_device *device)
goto err_request_mem;
}
- fb_clk = clk_get(&device->dev, NULL);
+ fb_clk = clk_get(&device->dev, "fck");
if (IS_ERR(fb_clk)) {
dev_err(&device->dev, "Can not get device clock\n");
ret = -ENODEV;