]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] dvb: Twinhan DST: frontend polarization fix
authorAllan Stirling <Dibblahdvb0042@pendor.org>
Fri, 8 Jul 2005 00:57:51 +0000 (17:57 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 8 Jul 2005 01:23:56 +0000 (18:23 -0700)
Fix a bug that caused the polarization (V/H) to be interchanged.

Signed-off-by: Allan Stirling <Dibblahdvb0042@pendor.org>
Signed-off-by: Manu Abraham <manu@kromtek.com>
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/media/dvb/bt8xx/dst.c

index 1f97c37fe9a68ba6a3b155ad8337b5eaa3c52e8f..d8f4200065ee0d36688da05edfc02ec133dc43dc 100644 (file)
@@ -325,12 +325,12 @@ static int dst_set_polarization(struct dst_state *state)
        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: