[linux-dvb] [PATCH] for compatibility with software suspend

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This makes DVB modules Software Suspend 2 compatible. I corrected a
lack of initialization bug which let tuning fail after resume.

I now adjusted my changes for the current cvs version. Here, again,
is the patch:

Index: linux/drivers/media/dvb/dvb-core/dvb_frontend.c
===================================================================
RCS 
file: /cvs/linuxtv/dvb-kernel/linux/drivers/media/dvb/dvb-core/dvb_frontend.c,v
retrieving revision 1.104
diff -u -r1.104 dvb_frontend.c
--- linux/drivers/media/dvb/dvb-core/dvb_frontend.c 24 Jan 2005 22:43:47 -0000 
1.104
+++ linux/drivers/media/dvb/dvb-core/dvb_frontend.c 21 Feb 2005 17:20:42 -0000
@@ -882,6 +882,9 @@
  init_MUTEX (&fepriv->events.sem);
  fe->dvb = dvb;
  fepriv->inversion = INVERSION_OFF;
+ 
+ fepriv->thread_pid = 0;
+ fepriv->exit = 1;
 
  printk ("DVB: registering frontend %i (%s)...\n",
   fe->dvb->num,





[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux