Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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

parent 415a1975
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -972,7 +972,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())