summaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorMatthias Schwarzzot <zzam@gentoo.org>2009-01-27 20:29:44 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-13 17:19:42 +0100
commita00d0bb86b20a86a72f4df9d6e31dda94c02b4fa (patch)
tree1051611388b6803307b4dafc55a5f0b6cdd74b64 /drivers/media
parentV4L/DVB (10977): STB6100 init fix, the call to stb6100_set_bandwidth needs an... (diff)
downloadlinux-a00d0bb86b20a86a72f4df9d6e31dda94c02b4fa.tar.xz
linux-a00d0bb86b20a86a72f4df9d6e31dda94c02b4fa.zip
V4L/DVB (10978): Report tuning algorith correctly
Signed-off-by: Manu Abraham <manu@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/dvb/bt8xx/dst.c2
1 files changed, 1 insertions, 1 deletions
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)