From ab626070e30987a939b0b24bcfc1c2354f26ef9f Mon Sep 17 00:00:00 2001 From: Andrew de Quincy Date: Fri, 12 Mar 2004 10:43:29 +0000 Subject: Couple of minor refinements to the frontend wakeup code --- linux/drivers/media/dvb/dvb-core/dvb_frontend.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'linux/drivers') 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); } } -- cgit v1.2.3