[linux-dvb] [PATCH] for compatibility with software suspend
Dietrich Rothe
dietrich_rothe at gmx.de
Mon Feb 21 18:22:36 CET 2005
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,
More information about the linux-dvb
mailing list