[DVB patch 20/51] Twinhan DST: frontend polarization fix
From: Johannes Stezenbach
Date: Mon Jun 27 2005 - 07:34:11 EST
From: Allan Stirling <Dibblahdvb0042@xxxxxxxxxx>
Fix a bug that caused the polarization (V/H) to be interchanged.
Signed-off-by: Allan Stirling <Dibblahdvb0042@xxxxxxxxxx>
Signed-off-by: Manu Abraham <manu@xxxxxxxxxxx>
Signed-off-by: Johannes Stezenbach <js@xxxxxxxxxxx>
drivers/media/dvb/bt8xx/dst.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: linux-2.6.12-git8/drivers/media/dvb/bt8xx/dst.c
===================================================================
--- linux-2.6.12-git8.orig/drivers/media/dvb/bt8xx/dst.c 2005-06-27 13:24:12.000000000 +0200
+++ linux-2.6.12-git8/drivers/media/dvb/bt8xx/dst.c 2005-06-27 13:24:13.000000000 +0200
@@ -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:
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/