[PATCH] [media] fix tua6034 pll bandwich configuration [3rd and last attempt]

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

 



i have already send this patch twice and the mailing list but get no response. (Three weeks delay between the mails).
Why mail mails are ignored?

The tua6034 pll is corrupted by commit "[media] dvb-pll: use DVBv5 parameters on set_params()"
http://git.linuxtv.org/media_tree.git/commit/80d8d4985f280dca3c395286d13b49f910a029e7

[SNIP]
/* Infineon TUA6034
* used in LG TDTP E102P
*/
-static void tua6034_bw(struct dvb_frontend *fe, u8 *buf,
-                      const struct dvb_frontend_parameters *params)
+static void tua6034_bw(struct dvb_frontend *fe, u8 *buf)
{
-       if (BANDWIDTH_7_MHZ != params->u.ofdm.bandwidth)
+       u32 bw = fe->dtv_property_cache.bandwidth_hz;
+       if (bw == 7000000)
              buf[3] |= 0x08;
}
[/SNIP]

so here is a patch to fix this typo to get the Skymaster DTMU100 (HANFTEK UMT010 OEM BOX)
working again.

Arne

Resolves-bug: https://bugzilla.kernel.org/show_bug.cgi?id=51011

diff -Naur linux-3.7-rc7-org/drivers/media/dvb-frontends/dvb-pll.c linux-3.7-rc7/drivers/media/dvb-frontends/dvb-pll.c --- linux-3.7-rc7-org/drivers/media/dvb-frontends/dvb-pll.c 2012-11-26 02:59:19.000000000 +0100 +++ linux-3.7-rc7/drivers/media/dvb-frontends/dvb-pll.c 2012-11-27 09:45:16.736775252 +0100
@@ -247,7 +247,7 @@
static void tua6034_bw(struct dvb_frontend *fe, u8 *buf)
{
	u32 bw = fe->dtv_property_cache.bandwidth_hz;
-	if (bw == 7000000)
+	if (bw != 7000000)
		buf[3] |= 0x08;
}

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux