[linux-dvb] [FIXEd] Bug Report - Twinhan vp-1020, bt_8xx driver + frontend

Alain Turbide aturbide at rogers.com
Mon Dec 1 22:31:15 CET 2008


Digging in a little further.The dst_algo (which the twinhan uses) is set to return  0 as the default setting for the SW algo in dst.c, yet in dvb_frontend.h, the DVBFE_ALGO_SW algo is defined as 2.  Which is the correct one here? Should dst.c be changed to return 2 as sw or is 0 the correct number for the SW algo and thus DVBFE_ALGO_SW be changed to return 0?
  ----- Original Message ----- 
  From: Alain 
  To: linux-dvb at linuxtv.org 
  Sent: Monday, December 01, 2008 12:18 PM
  Subject: Re: [linux-dvb] Bug Report - Twinhan vp-1020,bt_8xx driver + frontend


  Found the problem I believe.  The original code always ran dvb_frontend_swzigzag(fe) even if the algo  is 0
  This fixes the issue for me.

  --- dvb_frontend.c      2008-12-01 12:07:28.000000000 -0500
  +++ /dvb_frontend.c     2008-12-01 12:07:16.000000000 -0500
  @@ -645,6 +645,8 @@
                                  break;
                          default:
                                  dprintk("%s: UNDEFINED ALGO !\n", __func__);
  +                               dvb_frontend_swzigzag(fe);
                                  break;
                          }
                  } else {





------------------------------------------------------------------------------



------------------------------------------------------------------------------


  _______________________________________________
  linux-dvb mailing list
  linux-dvb at linuxtv.org
  http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.linuxtv.org/pipermail/linux-dvb/attachments/20081201/514d1d3a/attachment.htm 


More information about the linux-dvb mailing list