[linux-dvb] [PATCH] bt8xx/dst.c NEWTUNE/TS204 bug

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

 Manu, you probably want to test this yourself as i assume you have a 
card with 204 tuner as opposed to NEWTUNE?

After upgrading to CVS i found that my tv card would just show garbage 
on the output. Its a Twinhan with NEWTUNE and the reason is fixed in the 
following patch.. I`m not sure however if moving the call to 
dst_packsize will have an adverse affect on TS204 tuners.


-------------- next part --------------
--- dvb-kernel.orig/linux/drivers/media/dvb/bt8xx/dst.c	2005-09-02 21:24:15.000000000 +0100
+++ dvb-kernel/linux/drivers/media/dvb/bt8xx/dst.c	2005-09-08 21:20:24.000000000 +0100
@@ -905,10 +905,6 @@
 	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 @@
 		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");

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux