summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/au0828/au0828-core.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <m.chehab@samsung.com>2014-08-09 21:47:13 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-08-21 15:25:07 -0500
commitb799de75e032c4d27788af9b4df3ab25858f87a8 (patch)
treee7b2a3ec2f3a348a4d19480fa645aabad7f43f84 /drivers/media/usb/au0828/au0828-core.c
parentfa500461db5af83fce7b1bd45e4925efadbebd90 (diff)
downloadop-kernel-dev-b799de75e032c4d27788af9b4df3ab25858f87a8.zip
op-kernel-dev-b799de75e032c4d27788af9b4df3ab25858f87a8.tar.gz
[media] au0828: Add suspend code for DVB
The scheduled work should be cancelled during suspend. At resume time, we need to set the frontend again. So, add such logic to the driver. 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.c2
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 87340a8..26ec505 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_dvb_suspend(dev);
/* FIXME: should suspend also ATV/DTV */
@@ -309,6 +310,7 @@ static int au0828_resume(struct usb_interface *interface)
au0828_gpio_setup(dev);
au0828_rc_resume(dev);
+ au0828_dvb_resume(dev);
/* FIXME: should resume also ATV/DTV */
OpenPOWER on IntegriCloud