diff options
author | Manu Abraham <manu@linuxtv.org> | 2005-09-09 13:03:02 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-09 13:57:44 -0700 |
commit | 62867429d0d79e47e19ceedc3133efe74993932f (patch) | |
tree | 99917c70d438c7337b2e22772b75782096d69018 /drivers/media/dvb/bt8xx | |
parent | 62121b1f9e25377ff50121f8c34a4aa92c47f465 (diff) | |
download | kernel_samsung_smdk4412-62867429d0d79e47e19ceedc3133efe74993932f.zip kernel_samsung_smdk4412-62867429d0d79e47e19ceedc3133efe74993932f.tar.gz kernel_samsung_smdk4412-62867429d0d79e47e19ceedc3133efe74993932f.tar.bz2 |
[PATCH] dvb: dst: fix DVB-C tuning
Fix BUG in DVB-C frequency setting. Thanks to Peng Cao <caopeng75@gmail.com>
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/media/dvb/bt8xx')
-rw-r--r-- | drivers/media/dvb/bt8xx/dst.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/dvb/bt8xx/dst.c b/drivers/media/dvb/bt8xx/dst.c index eef3448..34a837a 100644 --- a/drivers/media/dvb/bt8xx/dst.c +++ b/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; |