提交 4c09aa72 编写于 作者: M Manu Abraham 提交者: Linus Torvalds

[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: NManu Abraham <manu@linuxtv.org>
Cc: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 f630558d
......@@ -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");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册