[PATCH] [media] fix tua6034 pll bandwich configuration [resend]

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

 



Hi Mauro,

i have already send this patch to you and the mailing list around 3 weeks ago but get no response. The tua6034 pll is corrupted by your 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

Signed-off-by: Arne Fitzenreiter <Arne.Fitzenreiter@xxxxxxxxxx>

---

diff -Naur a/drivers/media/dvb-frontends/dvb-pll.c b/drivers/media/dvb-frontends/dvb-pll.c --- a/drivers/media/dvb-frontends/dvb-pll.c 2012-08-14 05:45:22.000000000 +0200 +++ b/drivers/media/dvb-frontends/dvb-pll.c 2012-10-25 14:06:42.123360189 +0200
@@ -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