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

Commit d772bd03 authored by Manu Abraham's avatar Manu Abraham Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (4211): Fix an Oops for all fe that have get_frontend_algo == NULL



Thanks to Johannes Stezenbach for pointing it out

Signed-off-by: default avatarManu Abraham <manu@linuxtv.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent fcc18e83
Loading
Loading
Loading
Loading
+15 −13
Original line number Diff line number Diff line
@@ -556,6 +556,7 @@ static int dvb_frontend_thread(void *data)
		}

		/* do an iteration of the tuning loop */
		if (fe->ops.get_frontend_algo) {
			if (fe->ops.get_frontend_algo(fe) == FE_ALGO_HW) {
				/* have we been asked to retune? */
				params = NULL;
@@ -573,6 +574,7 @@ static int dvb_frontend_thread(void *data)
				dvb_frontend_swzigzag(fe);
			}
		}
	}

	if (dvb_shutdown_timeout) {
		if (dvb_powerdown_on_sleep)