diff options
author | Manjunathappa <prakash.pm@ti.com> | 2012-11-20 07:41:01 -0500 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-11-27 04:52:40 -0500 |
commit | 81cec3c7566b8498f93d4f47225241875ab4968c (patch) | |
tree | 32dd402c43cfc75413995a8a6e80eea429095241 /drivers/video/da8xx-fb.c | |
parent | 3b43ad201dea06be1636e4809278d63837f8d292 (diff) |
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.c | 2 |
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) | |||
1248 | goto err_request_mem; | 1248 | goto err_request_mem; |
1249 | } | 1249 | } |
1250 | 1250 | ||
1251 | fb_clk = clk_get(&device->dev, NULL); | 1251 | fb_clk = clk_get(&device->dev, "fck"); |
1252 | if (IS_ERR(fb_clk)) { | 1252 | if (IS_ERR(fb_clk)) { |
1253 | dev_err(&device->dev, "Can not get device clock\n"); | 1253 | dev_err(&device->dev, "Can not get device clock\n"); |
1254 | ret = -ENODEV; | 1254 | ret = -ENODEV; |