aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx88/cx88-video.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/cx88/cx88-video.c')
-rw-r--r--drivers/media/video/cx88/cx88-video.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/media/video/cx88/cx88-video.c b/drivers/media/video/cx88/cx88-video.c
index f94a3b41782..705c29b002e 100644
--- a/drivers/media/video/cx88/cx88-video.c
+++ b/drivers/media/video/cx88/cx88-video.c
@@ -1954,6 +1954,8 @@ static int cx8800_suspend(struct pci_dev *pci_dev, pm_message_t state)
1954 } 1954 }
1955 spin_unlock(&dev->slock); 1955 spin_unlock(&dev->slock);
1956 1956
1957 if (core->ir)
1958 cx88_ir_stop(core, core->ir);
1957 /* FIXME -- shutdown device */ 1959 /* FIXME -- shutdown device */
1958 cx88_shutdown(core); 1960 cx88_shutdown(core);
1959 1961
@@ -1993,6 +1995,10 @@ static int cx8800_resume(struct pci_dev *pci_dev)
1993 1995
1994 /* FIXME: re-initialize hardware */ 1996 /* FIXME: re-initialize hardware */
1995 cx88_reset(core); 1997 cx88_reset(core);
1998 if (core->ir)
1999 cx88_ir_start(core, core->ir);
2000
2001 cx_set(MO_PCI_INTMSK, core->pci_irqmask);
1996 2002
1997 /* restart video+vbi capture */ 2003 /* restart video+vbi capture */
1998 spin_lock(&dev->slock); 2004 spin_lock(&dev->slock);