]> git.baikalelectronics.ru Git - kernel.git/commit
[media] davinci: vpif: Add suspend/resume callbacks to vpif driver
authorManjunath Hadli <manjunath.hadli@ti.com>
Fri, 13 Apr 2012 07:51:13 +0000 (04:51 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Jul 2012 22:08:34 +0000 (19:08 -0300)
commit39e57390bc5e3a54aab76a69532f66f11fe4a425
treecc365024c357904712f9469f1c2566065e2077ed
parent968c3720344d31f35d7bb544819c493f8d6f4a05
[media] davinci: vpif: Add suspend/resume callbacks to vpif driver

add clock enable and disable in probe and remove functions.
Probe will succeed only if the device clock is provided instead of
assuming that the clock is always enabled. VPIF clock has to be
dealt with during suspend and resume. Implement power management
callbacks to VPIF driver to disable/enable clock on suspend/resume
respectively.

Signed-off-by: Manjunath Hadli <manjunath.hadli@ti.com>
Signed-off-by: Lad, Prabhakar <prabhakar.lad@ti.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/davinci/vpif.c