diff options
Diffstat (limited to 'linux/drivers/media/video/cx88/cx88-dvb.c')
-rw-r--r-- | linux/drivers/media/video/cx88/cx88-dvb.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-dvb.c b/linux/drivers/media/video/cx88/cx88-dvb.c index f20a39a85..b4adbbaef 100644 --- a/linux/drivers/media/video/cx88/cx88-dvb.c +++ b/linux/drivers/media/video/cx88/cx88-dvb.c @@ -1,5 +1,5 @@ /* - * $Id: cx88-dvb.c,v 1.11 2004/10/07 12:29:56 kraxel Exp $ + * $Id: cx88-dvb.c,v 1.12 2004/10/12 07:33:22 kraxel Exp $ * * device driver for Conexant 2388x based TV cards * MPEG Transport Stream (DVB) routines @@ -28,6 +28,7 @@ #include <linux/fs.h> #include <linux/kthread.h> #include <linux/file.h> +#include <linux/suspend.h> #include "cx88.h" #include "cx22702.h" @@ -107,6 +108,8 @@ static int dvb_thread(void *data) break; if (kthread_should_stop()) break; + if (current->flags & PF_FREEZE) + refrigerator(PF_FREEZE); /* feed buffer data to demux */ if (buf->state == STATE_DONE) @@ -392,6 +395,8 @@ static struct pci_driver dvb_pci_driver = { .id_table = cx8802_pci_tbl, .probe = dvb_probe, .remove = dvb_remove, + .suspend = cx8802_suspend_common, + .resume = cx8802_resume_common, }; static int dvb_init(void) |