From aa26c81981a4571e5365e3d7817bf8092b3a356b Mon Sep 17 00:00:00 2001 From: Johannes Stezenbach Date: Sat, 4 Dec 2004 19:43:33 +0000 Subject: fix FESTATE_TUNING_FAST handling --- linux/drivers/media/dvb/dvb-core/dvb_frontend.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'linux/drivers/media/dvb') diff --git a/linux/drivers/media/dvb/dvb-core/dvb_frontend.c b/linux/drivers/media/dvb/dvb-core/dvb_frontend.c index aa08a673a..14fc2b83b 100644 --- a/linux/drivers/media/dvb/dvb-core/dvb_frontend.c +++ b/linux/drivers/media/dvb/dvb-core/dvb_frontend.c @@ -478,6 +478,7 @@ static int dvb_frontend_thread(void *data) continue; } +retune: /* get the frontend status */ if (fe->state & FESTATE_RETUNE) { s = 0; @@ -565,7 +566,7 @@ static int dvb_frontend_thread(void *data) * occurs */ if (fe->state & FESTATE_RETUNE) { fe->state = FESTATE_TUNING_FAST; - wake_up_interruptible(&fe->wait_queue); + goto retune; } } -- cgit v1.2.3