[linux-dvb] [PATCH] Twinhan + clones : Correct polarization for the
DST frontend
Allan Stirling
Dibblahdvb0042 at pendor.org
Mon Jun 20 21:04:32 CEST 2005
The vertical / horizontal polarization in the original patch from Manu
appears to be incorrect, at least for my card. This caused any tuning to
fail. The following trivial patch fixes this issue for me.
This applies cleanly to a 2.6.12 kernel with Manu's latest patch set:
01-inversion-fix.patch
02-fix-frequency.patch
03-fix-bandwidth.patch
04-modulation-support.patch
05-polarization-fix.patch
06-bogus-lock-fix.patch
Signed-off-by: Allan Stirling <Dibblahdvb0042 at pendor.org>
Thanks to Manu for help in running this down.
Cheers,
Allan.
--- ./drivers/media/dvb/bt8xx/dst.c~ 2005-06-20 17:49:54.730668000 +0100
+++ ./drivers/media/dvb/bt8xx/dst.c 2005-06-20 17:49:54.734668000 +0100
@@ -325,12 +325,12 @@ static int dst_set_polarization(struct d
switch (state->voltage) {
case SEC_VOLTAGE_13: // vertical
printk("%s: Polarization=[Vertical]\n", __FUNCTION__);
- state->tx_tuna[8] |= 0x40; //1
+ state->tx_tuna[8] =~ 0x40; //1
break;
case SEC_VOLTAGE_18: // horizontal
printk("%s: Polarization=[Horizontal]\n", __FUNCTION__);
- state->tx_tuna[8] =~ 0x40; // 0
+ state->tx_tuna[8] |= 0x40; // 0
break;
case SEC_VOLTAGE_OFF:
More information about the linux-dvb
mailing list