From 7dd41c0b7680d2ff2175c94e3ec4581111a718fb Mon Sep 17 00:00:00 2001 From: Manu Abraham Date: Wed, 21 Sep 2005 16:19:58 +0000 Subject: VP-3040 TS204 fix - fixes broken support for vp-3040 Thanks to: Lee Hammerton Signed-off-by: Manu Abraham 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. --- linux/drivers/media/dvb/bt8xx/dst.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'linux/drivers/media/dvb') 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"); -- cgit v1.2.3