diff options
author | Johannes Stezenbach <devnull@localhost> | 2002-12-28 10:37:43 +0000 |
---|---|---|
committer | Johannes Stezenbach <devnull@localhost> | 2002-12-28 10:37:43 +0000 |
commit | 4e6e35551b720310c6da7a00cf671b18b8e155cf (patch) | |
tree | 6a6c43117c06500269c7e0fe66dffed4b750ad34 /linux/drivers | |
parent | e89bfbbec9646b0dd955db21b93ca286526233ce (diff) | |
download | mediapointer-dvb-s2-4e6e35551b720310c6da7a00cf671b18b8e155cf.tar.gz mediapointer-dvb-s2-4e6e35551b720310c6da7a00cf671b18b8e155cf.tar.bz2 |
don't hang uninterruptibly when opening the frontend device
and something goes very wrong with the kdvb-fe thread
Diffstat (limited to 'linux/drivers')
-rw-r--r-- | linux/drivers/media/dvb/dvb-core/dvb_frontend.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/dvb-core/dvb_frontend.c b/linux/drivers/media/dvb/dvb-core/dvb_frontend.c index bb67ff53d..656515eb2 100644 --- a/linux/drivers/media/dvb/dvb-core/dvb_frontend.c +++ b/linux/drivers/media/dvb/dvb-core/dvb_frontend.c @@ -515,6 +515,8 @@ void dvb_frontend_stop (struct dvb_frontend_data *fe) wake_up_interruptible (&fe->wait_queue); current->state = TASK_INTERRUPTIBLE; schedule_timeout (5); + if (signal_pending(current)) + break; }; } |