Commit a00d0bb8 authored by Matthias Schwarzzot's avatar Matthias Schwarzzot Committed by Mauro Carvalho Chehab

V4L/DVB (10978): Report tuning algorith correctly

Signed-off-by: default avatarManu Abraham <manu@linuxtv.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 26f26fa8
...@@ -1683,7 +1683,7 @@ static int dst_tune_frontend(struct dvb_frontend* fe, ...@@ -1683,7 +1683,7 @@ static int dst_tune_frontend(struct dvb_frontend* fe,
static int dst_get_tuning_algo(struct dvb_frontend *fe) static int dst_get_tuning_algo(struct dvb_frontend *fe)
{ {
return dst_algo; return dst_algo ? DVBFE_ALGO_HW : DVBFE_ALGO_SW;
} }
static int dst_get_frontend(struct dvb_frontend *fe, struct dvb_frontend_parameters *p) static int dst_get_frontend(struct dvb_frontend *fe, struct dvb_frontend_parameters *p)
......
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