summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/davinci
diff options
context:
space:
mode:
authorVaibhav Hiremath <hvaibhav@ti.com>2010-03-27 09:37:16 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-18 00:52:45 -0300
commitaa2dc9034859531206889b6bf07b5f9adae487a6 (patch)
tree0a5cf426fe35244b452cb82e4e64dc80a76dbd85 /drivers/media/video/davinci
parent21aa300e160f03c237d2153d9938e14a87f38e0d (diff)
downloadlinux-stable-aa2dc9034859531206889b6bf07b5f9adae487a6.tar.gz
linux-stable-aa2dc9034859531206889b6bf07b5f9adae487a6.tar.bz2
linux-stable-aa2dc9034859531206889b6bf07b5f9adae487a6.zip
V4L/DVB: V4L: vpfe_capture: Return 0 from suspend/resume
Now Suspend/Resume functionality is being handled by respective CCDC code, so return true (0) from bridge suspend/resume function. Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com> Signed-off-by: Muralidharan Karicheri <mkaricheri@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/davinci')
-rw-r--r--drivers/media/video/davinci/vpfe_capture.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/drivers/media/video/davinci/vpfe_capture.c b/drivers/media/video/davinci/vpfe_capture.c
index caeac199d15b..2b906753f13c 100644
--- a/drivers/media/video/davinci/vpfe_capture.c
+++ b/drivers/media/video/davinci/vpfe_capture.c
@@ -2031,18 +2031,14 @@ static int __devexit vpfe_remove(struct platform_device *pdev)
return 0;
}
-static int
-vpfe_suspend(struct device *dev)
+static int vpfe_suspend(struct device *dev)
{
- /* add suspend code here later */
- return -1;
+ return 0;
}
-static int
-vpfe_resume(struct device *dev)
+static int vpfe_resume(struct device *dev)
{
- /* add resume code here later */
- return -1;
+ return 0;
}
static const struct dev_pm_ops vpfe_dev_pm_ops = {