From: Vaibhav Hiremath Date: Sat, 27 Mar 2010 12:37:16 +0000 (-0300) Subject: V4L/DVB: V4L: vpfe_capture: Return 0 from suspend/resume X-Git-Tag: MMI-PSA29.97-13-9~23880^2~285 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=aa2dc9034859531206889b6bf07b5f9adae487a6;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 Signed-off-by: Muralidharan Karicheri Signed-off-by: Mauro Carvalho Chehab --- 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 = {