]> Pileus Git - ~andy/linux/commitdiff
V4L/DVB: V4L: vpfe_capture: Return 0 from suspend/resume
authorVaibhav Hiremath <hvaibhav@ti.com>
Sat, 27 Mar 2010 12:37:16 +0000 (09:37 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 18 May 2010 03:52:45 +0000 (00:52 -0300)
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>
drivers/media/video/davinci/vpfe_capture.c

index caeac199d15b7e71ee4a15bcf026fcf1212948c1..2b906753f13c30d9acdb878e1067871645eb442c 100644 (file)
@@ -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 = {