summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/b2c2/flexcop-fe-tuner.c
diff options
context:
space:
mode:
authorPatrick Boettcher <devnull@localhost>2005-05-11 15:26:29 +0000
committerPatrick Boettcher <devnull@localhost>2005-05-11 15:26:29 +0000
commit977bcc338ba96d70a2092186e474c7e2d78bcc3e (patch)
treec18bf7c82367f841f172027c929d8372ba929e0d /linux/drivers/media/dvb/b2c2/flexcop-fe-tuner.c
parent77c73bb0131046ee6b2d33e8bb701f732919b6da (diff)
downloadmediapointer-dvb-s2-977bcc338ba96d70a2092186e474c7e2d78bcc3e.tar.gz
mediapointer-dvb-s2-977bcc338ba96d70a2092186e474c7e2d78bcc3e.tar.bz2
Fixed DiSeqC switching, which was wrongly taking over from skystar2.c.
Thanks to Joerg Riechardt for finding the bug and testing the Fix. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/dvb/b2c2/flexcop-fe-tuner.c')
-rw-r--r--linux/drivers/media/dvb/b2c2/flexcop-fe-tuner.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/b2c2/flexcop-fe-tuner.c b/linux/drivers/media/dvb/b2c2/flexcop-fe-tuner.c
index b3dd16fb5..71be400e9 100644
--- a/linux/drivers/media/dvb/b2c2/flexcop-fe-tuner.c
+++ b/linux/drivers/media/dvb/b2c2/flexcop-fe-tuner.c
@@ -79,8 +79,8 @@ static int flexcop_set_tone(struct dvb_frontend *fe, fe_sec_tone_mode_t tone)
v.lnb_switch_freq_200.LNB_CTLPrescaler_sig = 1; /* divide by 2 */
- v.lnb_switch_freq_200.LNB_CTLHighCount_sig =
- v.lnb_switch_freq_200.LNB_CTLLowCount_sig = ax;
+ v.lnb_switch_freq_200.LNB_CTLHighCount_sig = ax;
+ v.lnb_switch_freq_200.LNB_CTLLowCount_sig = ax == 0 ? 0x1ff : ax;
return fc->write_ibi_reg(fc,lnb_switch_freq_200,v);
}