summaryrefslogtreecommitdiff
path: root/linux/drivers
diff options
context:
space:
mode:
authorAndrew de Quincy <devnull@localhost>2004-03-12 10:43:29 +0000
committerAndrew de Quincy <devnull@localhost>2004-03-12 10:43:29 +0000
commitab626070e30987a939b0b24bcfc1c2354f26ef9f (patch)
treee9385728240560a024e148b817ad1f456a5b262c /linux/drivers
parentce115aac8f6de26814e410542d68553a1c9789a4 (diff)
downloadmediapointer-dvb-s2-ab626070e30987a939b0b24bcfc1c2354f26ef9f.tar.gz
mediapointer-dvb-s2-ab626070e30987a939b0b24bcfc1c2354f26ef9f.tar.bz2
Couple of minor refinements to the frontend wakeup code
Diffstat (limited to 'linux/drivers')
-rw-r--r--linux/drivers/media/dvb/dvb-core/dvb_frontend.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/dvb-core/dvb_frontend.c b/linux/drivers/media/dvb/dvb-core/dvb_frontend.c
index df9dbc902..e80586daa 100644
--- a/linux/drivers/media/dvb/dvb-core/dvb_frontend.c
+++ b/linux/drivers/media/dvb/dvb-core/dvb_frontend.c
@@ -493,6 +493,7 @@ static int dvb_frontend_thread (void *data)
dvb_call_frontend_notifiers (fe, 0);
dvb_frontend_init (fe);
+ fe->wakeup = 0;
while (1) {
up (&fe->sem); /* is locked when we enter the thread... */
@@ -592,7 +593,7 @@ static int dvb_frontend_thread (void *data)
// tune occurs
if (fe->state & FESTATE_RETUNE) {
fe->state = FESTATE_TUNING_FAST;
- dvb_frontend_wakeup(fe);
+ wake_up_interruptible(&fe->wait_queue);
}
}