Skip to content

Commit

Permalink
V4L/DVB: V4L: vpfe_capture: Return 0 from suspend/resume
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Vaibhav Hiremath authored and Mauro Carvalho Chehab committed May 18, 2010
1 parent 21aa300 commit aa2dc90
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions drivers/media/video/davinci/vpfe_capture.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit aa2dc90

Please sign in to comment.