diff options
author | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-08-09 21:47:15 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-08-21 15:25:08 -0500 |
commit | 1a1ba95e80e567176aeb2a10b2dc6d920b06a33e (patch) | |
tree | 4131cbd9989ed20213158ffdb11b7dcfcc6ff5d4 /drivers/media/usb/au0828/au0828-core.c | |
parent | e2147d0af0aa77c1a7b610224161993ef62e3ac1 (diff) | |
download | blackbird-obmc-linux-1a1ba95e80e567176aeb2a10b2dc6d920b06a33e.tar.gz blackbird-obmc-linux-1a1ba95e80e567176aeb2a10b2dc6d920b06a33e.zip |
[media] au0828: add suspend/resume code for V4L2
No timers should be enabled during suspend. So,
stop them. At resume time, we should do the proper
initialization for it to keep working.
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/usb/au0828/au0828-core.c')
-rw-r--r-- | drivers/media/usb/au0828/au0828-core.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/usb/au0828/au0828-core.c b/drivers/media/usb/au0828/au0828-core.c index 26ec50539dc4..5f13888d73a0 100644 --- a/drivers/media/usb/au0828/au0828-core.c +++ b/drivers/media/usb/au0828/au0828-core.c @@ -290,6 +290,7 @@ static int au0828_suspend(struct usb_interface *interface, return 0; au0828_rc_suspend(dev); + au0828_v4l2_suspend(dev); au0828_dvb_suspend(dev); /* FIXME: should suspend also ATV/DTV */ @@ -310,6 +311,7 @@ static int au0828_resume(struct usb_interface *interface) au0828_gpio_setup(dev); au0828_rc_resume(dev); + au0828_v4l2_resume(dev); au0828_dvb_resume(dev); /* FIXME: should resume also ATV/DTV */ |