From: Matthias Schwarzzot Date: Tue, 27 Jan 2009 19:29:44 +0000 (-0300) Subject: V4L/DVB (10978): Report tuning algorith correctly X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a00d0bb86b20a86a72f4df9d6e31dda94c02b4fa;p=linux-beck.git V4L/DVB (10978): Report tuning algorith correctly Signed-off-by: Manu Abraham Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/dvb/bt8xx/dst.c b/drivers/media/dvb/bt8xx/dst.c index 29e8f1546ab6..fec1d77fa855 100644 --- a/drivers/media/dvb/bt8xx/dst.c +++ b/drivers/media/dvb/bt8xx/dst.c @@ -1683,7 +1683,7 @@ static int dst_tune_frontend(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)