diff options
author | Andrew de Quincy <devnull@localhost> | 2004-03-12 10:43:29 +0000 |
---|---|---|
committer | Andrew de Quincy <devnull@localhost> | 2004-03-12 10:43:29 +0000 |
commit | ab626070e30987a939b0b24bcfc1c2354f26ef9f (patch) | |
tree | e9385728240560a024e148b817ad1f456a5b262c /linux/drivers/media/dvb/dvb-core | |
parent | ce115aac8f6de26814e410542d68553a1c9789a4 (diff) | |
download | mediapointer-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/media/dvb/dvb-core')
-rw-r--r-- | linux/drivers/media/dvb/dvb-core/dvb_frontend.c | 3 |
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); } } |