Commit a39a8ed7 authored by Marco Schluessler's avatar Marco Schluessler Committed by Mauro Carvalho Chehab

V4L/DVB (6356): "while (!ca->wakeup)" breaks the CAM initialisation

Signed-off-by: default avatarMarco Schluessler <marco@lordzodiac.de>
Signed-off-by: default avatarOliver Endriss <o.endriss@gmx.de>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent 415a1975
...@@ -972,7 +972,7 @@ static int dvb_ca_en50221_thread(void *data) ...@@ -972,7 +972,7 @@ static int dvb_ca_en50221_thread(void *data)
/* main loop */ /* main loop */
while (!kthread_should_stop()) { while (!kthread_should_stop()) {
/* sleep for a bit */ /* sleep for a bit */
while (!ca->wakeup) { if (!ca->wakeup) {
set_current_state(TASK_INTERRUPTIBLE); set_current_state(TASK_INTERRUPTIBLE);
schedule_timeout(ca->delay); schedule_timeout(ca->delay);
if (kthread_should_stop()) if (kthread_should_stop())
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment