diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-10-16 09:25:42 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-10-16 09:25:42 -0200 |
commit | b0810ae831bd969b353b8eacf0547c554a40eb88 (patch) | |
tree | 025b019208e204008a1198553543f6f1fe5b1256 | |
parent | 87e197f0fe6b6bdaaa5eb439ad8f2ce016f03929 (diff) | |
download | mediapointer-dvb-s2-b0810ae831bd969b353b8eacf0547c554a40eb88.tar.gz mediapointer-dvb-s2-b0810ae831bd969b353b8eacf0547c554a40eb88.tar.bz2 |
"while (!ca->wakeup)" breaks the CAM initialisation
From: Marco Schluessler <marco@lordzodiac.de>
Signed-off-by: Marco Schluessler <marco@lordzodiac.de>
Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r-- | linux/drivers/media/dvb/dvb-core/dvb_ca_en50221.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/dvb-core/dvb_ca_en50221.c b/linux/drivers/media/dvb/dvb-core/dvb_ca_en50221.c index 3a2f7dcf2..588a12597 100644 --- a/linux/drivers/media/dvb/dvb-core/dvb_ca_en50221.c +++ b/linux/drivers/media/dvb/dvb-core/dvb_ca_en50221.c @@ -973,7 +973,7 @@ static int dvb_ca_en50221_thread(void *data) /* main loop */ while (!kthread_should_stop()) { /* sleep for a bit */ - while (!ca->wakeup) { + if (!ca->wakeup) { set_current_state(TASK_INTERRUPTIBLE); schedule_timeout(ca->delay); if (kthread_should_stop()) |