[linux-dvb] [PATCH] Twinhan + clones : Correct polarization for the DST frontend

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Olaf Titz wrote:
>>+            state->tx_tuna[8] =~ 0x40;  //1
>>+            state->tx_tuna[8] |= 0x40;  // 0
> 
> I don't know anything about that device, but this code looks wrong to
> me. The "1" line sets the whole register and the "0" line a single
> bit. Shouldn't that rather be something like
> 
>>+            state->tx_tuna[8] &= ~0x40;  //1
> 

Yep, that's the correct one .. The reason why the earlier patched worked 
for Allan was that the rest of the bits in the register are Don't care 
terms for his card ..

So setting the entire register to 0x00 worked for him.. For some of the 
other cards, they do test both horizontal and vertical polarities if 
none is supplied ..

Sorry, for the confusion added ..

Manu




[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux