summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb
diff options
context:
space:
mode:
authorManu Abraham <devnull@localhost>2005-09-21 16:19:58 +0000
committerManu Abraham <devnull@localhost>2005-09-21 16:19:58 +0000
commit7dd41c0b7680d2ff2175c94e3ec4581111a718fb (patch)
treeadd4d7feba7d7e28bc622a8629be5284242696cb /linux/drivers/media/dvb
parente1b5e2b0b178e971fd832e625b11815661de8a94 (diff)
downloadmediapointer-dvb-s2-7dd41c0b7680d2ff2175c94e3ec4581111a718fb.tar.gz
mediapointer-dvb-s2-7dd41c0b7680d2ff2175c94e3ec4581111a718fb.tar.bz2
VP-3040 TS204 fix
- fixes broken support for vp-3040 Thanks to: Lee Hammerton <savoury.snax@bulldoghome.com> Signed-off-by: Manu Abraham <manu@linuxtv.org> Note: Johannes, this patch fixes the previous patch (marked for testing) for the VP-3040 DVB-T cards. Haven't received a Signed-off-by from Lee Hammerton yet. Hopefully waiting for the same.
Diffstat (limited to 'linux/drivers/media/dvb')
-rw-r--r--linux/drivers/media/dvb/bt8xx/dst.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/linux/drivers/media/dvb/bt8xx/dst.c b/linux/drivers/media/dvb/bt8xx/dst.c
index 859daaadd..b07788d23 100644
--- a/linux/drivers/media/dvb/bt8xx/dst.c
+++ b/linux/drivers/media/dvb/bt8xx/dst.c
@@ -905,10 +905,6 @@ static int dst_get_device_id(struct dst_state *state)
state->dst_type = use_dst_type;
dst_type_flags_print(state->type_flags);
- if (state->type_flags & DST_TYPE_HAS_TS204) {
- dst_packsize(state, 204);
- }
-
return 0;
}
@@ -940,6 +936,9 @@ static int dst_probe(struct dst_state *state)
if (dst_get_tuner_info(state) < 0)
dprintk(verbose, DST_INFO, 1, "Tuner: Unsupported command");
}
+ if (state->type_flags & DST_TYPE_HAS_TS204) {
+ dst_packsize(state, 204);
+ }
if (state->type_flags & DST_TYPE_HAS_FW_BUILD) {
if (dst_fw_ver(state) < 0) {
dprintk(verbose, DST_INFO, 1, "FW: Unsupported command");