aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllan Stirling <Dibblahdvb0042@pendor.org>2005-07-07 20:57:51 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-07 21:23:56 -0400
commit3dff919425dd79954447e6ab39807b4c27ba3089 (patch)
tree8b69b5f99c7d5e5d06a04b9b8eb8e221b27f20fb
parent7d53421c6adce47d067b834c605daeafe1ff9356 (diff)
[PATCH] dvb: Twinhan DST: frontend polarization fix
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>
-rw-r--r--drivers/media/dvb/bt8xx/dst.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb/bt8xx/dst.c b/drivers/media/dvb/bt8xx/dst.c
index 1f97c37fe9a6..d8f4200065ee 100644
--- a/drivers/media/dvb/bt8xx/dst.c
+++ b/drivers/media/dvb/bt8xx/dst.c
@@ -325,12 +325,12 @@ static int dst_set_polarization(struct dst_state *state)
325 switch (state->voltage) { 325 switch (state->voltage) {
326 case SEC_VOLTAGE_13: // vertical 326 case SEC_VOLTAGE_13: // vertical
327 printk("%s: Polarization=[Vertical]\n", __FUNCTION__); 327 printk("%s: Polarization=[Vertical]\n", __FUNCTION__);
328 state->tx_tuna[8] |= 0x40; //1 328 state->tx_tuna[8] &= ~0x40; //1
329 break; 329 break;
330 330
331 case SEC_VOLTAGE_18: // horizontal 331 case SEC_VOLTAGE_18: // horizontal
332 printk("%s: Polarization=[Horizontal]\n", __FUNCTION__); 332 printk("%s: Polarization=[Horizontal]\n", __FUNCTION__);
333 state->tx_tuna[8] =~ 0x40; // 0 333 state->tx_tuna[8] |= 0x40; // 0
334 break; 334 break;
335 335
336 case SEC_VOLTAGE_OFF: 336 case SEC_VOLTAGE_OFF: