Skip to content

Commit

Permalink
[PATCH] dvb: Twinhan DST: frontend polarization fix
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Allan Stirling authored and Linus Torvalds committed Jul 8, 2005
1 parent 7d53421 commit 3dff919
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/media/dvb/bt8xx/dst.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 3dff919

Please sign in to comment.