[media] media: davinci: vpbe: venc: move the enabling of vpss clocks to driver
authorLad, Prabhakar <prabhakar.csengg@gmail.com>
Fri, 22 Mar 2013 07:53:13 +0000 (04:53 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 14 Apr 2013 23:08:29 +0000 (20:08 -0300)
commit08154695076c1aecd2f9bcde79825b45f5ac23b2
tree799f029d967d8387f582a9cb801cd7dc1b8a6fae
parent9a3e89b10f5e48c0d8cca7896c02bf4d76d0ae46
[media] media: davinci: vpbe: venc: move the enabling of vpss clocks to driver

The vpss clocks were enabled by calling a exported function from a driver
in a machine code. calling driver code from platform code is incorrect way.
This patch fixes this issue and calls the function from driver code itself.

Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/davinci/vpbe_venc.c