diff options
author | Manu Abraham <manu@linuxtv.org> | 2005-11-08 21:35:20 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-09 07:56:02 -0800 |
commit | 4c09aa72b60f30650527afb384c1b3b1cb56aeea (patch) | |
tree | f69a59a7f681c94acf34d431e70d8214a78f18a9 /drivers/media | |
parent | f630558dfbd47301c2ce30f7e4acd2817a7455ac (diff) |
[PATCH] dvb: dst: fix broken support for vp-3040 TS204
fixes broken support for vp-3040 TS204
Thanks-to: Lee Hammerton <savoury.snax@bulldoghome.com>
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Cc: 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')
-rw-r--r-- | drivers/media/dvb/bt8xx/dst.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/media/dvb/bt8xx/dst.c b/drivers/media/dvb/bt8xx/dst.c index 6f9e5c16803..418ffbbef96 100644 --- a/drivers/media/dvb/bt8xx/dst.c +++ b/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"); |