summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorManu Abraham <devnull@localhost>2005-06-22 10:36:12 +0000
committerManu Abraham <devnull@localhost>2005-06-22 10:36:12 +0000
commitcd4f9517daeb28816a9ac684a56c83773bef73da (patch)
tree527056db56924f339c79bac85e99e2c2cf586d79 /linux
parentb1de4ede43b2b89f39e500ce3c3b410fc28d5cdf (diff)
downloadmediapointer-dvb-s2-cd4f9517daeb28816a9ac684a56c83773bef73da.tar.gz
mediapointer-dvb-s2-cd4f9517daeb28816a9ac684a56c83773bef73da.tar.bz2
Fix a bug that caused the polarity (V/H) to be interchanged
Patch sent by Allan Stirling Signed-off-by: Manu Abraham <manu@kromtek.com> Signed-off-by: Allan Stirling <Dibblahdvb0042@pendor.org>
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/dvb/bt8xx/dst.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/bt8xx/dst.c b/linux/drivers/media/dvb/bt8xx/dst.c
index 1f97c37fe..d8f420006 100644
--- a/linux/drivers/media/dvb/bt8xx/dst.c
+++ b/linux/drivers/media/dvb/bt8xx/dst.c
@@ -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: