提交 3dff9194 编写于 作者: A Allan Stirling 提交者: Linus Torvalds

[PATCH] dvb: Twinhan DST: frontend polarization fix

Fix a bug that caused the polarization (V/H) to be interchanged.
Signed-off-by: NAllan Stirling <Dibblahdvb0042@pendor.org>
Signed-off-by: NManu Abraham <manu@kromtek.com>
Signed-off-by: NJohannes Stezenbach <js@linuxtv.org>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 7d53421c
......@@ -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:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册