summaryrefslogtreecommitdiff
path: root/linux/drivers/media
diff options
context:
space:
mode:
authorManu Abraham <manu@linuxtv.org>2009-01-27 23:29:44 +0400
committerManu Abraham <manu@linuxtv.org>2009-01-27 23:29:44 +0400
commit84c19b03d182a3ad1a04fa4be0772ef587225fe6 (patch)
treed9ce0d6cd4bd2f9fccfee543aad4044416f55b36 /linux/drivers/media
parent711a3b562c4751c854fd271f44c6e5f432bc09d6 (diff)
downloadmediapointer-dvb-s2-84c19b03d182a3ad1a04fa4be0772ef587225fe6.tar.gz
mediapointer-dvb-s2-84c19b03d182a3ad1a04fa4be0772ef587225fe6.tar.bz2
Report tuning algorith correctly
From: Matthias Schwarzzot <zzam@gentoo.org> Signed-off-by: Manu Abraham <manu@linuxtv.org>
Diffstat (limited to 'linux/drivers/media')
-rw-r--r--linux/drivers/media/dvb/bt8xx/dst.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/bt8xx/dst.c b/linux/drivers/media/dvb/bt8xx/dst.c
index 29e8f1546..fec1d77fa 100644
--- a/linux/drivers/media/dvb/bt8xx/dst.c
+++ b/linux/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)