diff options
author | Manu Abraham <manu@linuxtv.org> | 2005-11-09 00:35:20 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-09 10:56:02 -0500 |
commit | 4c09aa72b60f30650527afb384c1b3b1cb56aeea (patch) | |
tree | f69a59a7f681c94acf34d431e70d8214a78f18a9 | |
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>
-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 6f9e5c168038..418ffbbef966 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) | |||
905 | state->dst_type = use_dst_type; | 905 | state->dst_type = use_dst_type; |
906 | dst_type_flags_print(state->type_flags); | 906 | dst_type_flags_print(state->type_flags); |
907 | 907 | ||
908 | if (state->type_flags & DST_TYPE_HAS_TS204) { | ||
909 | dst_packsize(state, 204); | ||
910 | } | ||
911 | |||
912 | return 0; | 908 | return 0; |
913 | } | 909 | } |
914 | 910 | ||
@@ -940,6 +936,9 @@ static int dst_probe(struct dst_state *state) | |||
940 | if (dst_get_tuner_info(state) < 0) | 936 | if (dst_get_tuner_info(state) < 0) |
941 | dprintk(verbose, DST_INFO, 1, "Tuner: Unsupported command"); | 937 | dprintk(verbose, DST_INFO, 1, "Tuner: Unsupported command"); |
942 | } | 938 | } |
939 | if (state->type_flags & DST_TYPE_HAS_TS204) { | ||
940 | dst_packsize(state, 204); | ||
941 | } | ||
943 | if (state->type_flags & DST_TYPE_HAS_FW_BUILD) { | 942 | if (state->type_flags & DST_TYPE_HAS_FW_BUILD) { |
944 | if (dst_fw_ver(state) < 0) { | 943 | if (dst_fw_ver(state) < 0) { |
945 | dprintk(verbose, DST_INFO, 1, "FW: Unsupported command"); | 944 | dprintk(verbose, DST_INFO, 1, "FW: Unsupported command"); |