diff options
author | Manu Abraham <devnull@localhost> | 2005-09-02 20:24:15 +0000 |
---|---|---|
committer | Manu Abraham <devnull@localhost> | 2005-09-02 20:24:15 +0000 |
commit | fb81916c2403e6c170874dbe9f270a72d58f0a7d (patch) | |
tree | 5f70ec09fbb83164fc9bc9c89745d846b32e52fa /linux/drivers/media/dvb | |
parent | 827aee1aa6f302c850253c796e70fa8965efd112 (diff) | |
download | mediapointer-dvb-s2-fb81916c2403e6c170874dbe9f270a72d58f0a7d.tar.gz mediapointer-dvb-s2-fb81916c2403e6c170874dbe9f270a72d58f0a7d.tar.bz2 |
Fix BUG in DVB-C frequency setting
- Result was DVB-C cards failed to tune
Fix sent in by Peng Cao <caopeng75@gmail.com>
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/dvb')
-rw-r--r-- | linux/drivers/media/dvb/bt8xx/dst.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/bt8xx/dst.c b/linux/drivers/media/dvb/bt8xx/dst.c index cf5096fb0..b63344ad4 100644 --- a/linux/drivers/media/dvb/bt8xx/dst.c +++ b/linux/drivers/media/dvb/bt8xx/dst.c @@ -359,6 +359,7 @@ static int dst_set_freq(struct dst_state *state, u32 freq) state->tx_tuna[3] = (freq >> 8) & 0xff; state->tx_tuna[4] = (u8) freq; } else if (state->dst_type == DST_TYPE_IS_CABLE) { + freq = freq / 1000; state->tx_tuna[2] = (freq >> 16) & 0xff; state->tx_tuna[3] = (freq >> 8) & 0xff; state->tx_tuna[4] = (u8) freq; |