diff options
author | Vaibhav Hiremath <hvaibhav@ti.com> | 2010-03-27 08:37:16 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-05-17 23:52:45 -0400 |
commit | aa2dc9034859531206889b6bf07b5f9adae487a6 (patch) | |
tree | 0a5cf426fe35244b452cb82e4e64dc80a76dbd85 /drivers/media/video/davinci | |
parent | 21aa300e160f03c237d2153d9938e14a87f38e0d (diff) |
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.c | 12 |
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) | |||
2031 | return 0; | 2031 | return 0; |
2032 | } | 2032 | } |
2033 | 2033 | ||
2034 | static int | 2034 | static int vpfe_suspend(struct device *dev) |
2035 | vpfe_suspend(struct device *dev) | ||
2036 | { | 2035 | { |
2037 | /* add suspend code here later */ | 2036 | return 0; |
2038 | return -1; | ||
2039 | } | 2037 | } |
2040 | 2038 | ||
2041 | static int | 2039 | static int vpfe_resume(struct device *dev) |
2042 | vpfe_resume(struct device *dev) | ||
2043 | { | 2040 | { |
2044 | /* add resume code here later */ | 2041 | return 0; |
2045 | return -1; | ||
2046 | } | 2042 | } |
2047 | 2043 | ||
2048 | static const struct dev_pm_ops vpfe_dev_pm_ops = { | 2044 | static const struct dev_pm_ops vpfe_dev_pm_ops = { |