Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

authored by

Manu Abraham and committed by
Linus Torvalds
62867429 62121b1f

+1
+1
drivers/media/dvb/bt8xx/dst.c
··· 359 359 state->tx_tuna[3] = (freq >> 8) & 0xff; 360 360 state->tx_tuna[4] = (u8) freq; 361 361 } else if (state->dst_type == DST_TYPE_IS_CABLE) { 362 + freq = freq / 1000; 362 363 state->tx_tuna[2] = (freq >> 16) & 0xff; 363 364 state->tx_tuna[3] = (freq >> 8) & 0xff; 364 365 state->tx_tuna[4] = (u8) freq;