fix tua6034 pll bandwich configuration [resend]
PATCH 1/1 fix tua6034 pll bandwich configuration [resend]
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
---
drivers/media/dvb-frontends/dvb-pll.c +0 -0
@@ -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;
}