Re: Bug in mxl5005s driver

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

 



El Martes, 24 de Marzo de 2009, Andy Walls escribió:
> On Sun, 2009-03-22 at 22:31 +0100, Jose Alberto Reguero wrote:
> > In line 3992:
> >
> >         if (fe->ops.info.type == FE_ATSC) {
> >                 switch (params->u.vsb.modulation) {
> >                 case VSB_8:
> >                         req_mode = MXL_ATSC; break;
> >                 default:
> >                 case QAM_64:
> >                 case QAM_256:
> >                 case QAM_AUTO:
> >                         req_mode = MXL_QAM; break;
> >                 }
> >         } else
> >                 req_mode = MXL_DVBT;
> >
> > req_mode is filled with MXL_ATSC, MXL_QAM, or MXL_DVBT
> >
> > and in line 4007 req_mode is used like params->u.vsb.modulation
> >
> >                 switch (req_mode) {
> >                 case VSB_8:
> >                 case QAM_64:
> >                 case QAM_256:
> >                 case QAM_AUTO:
> >                         req_bw  = MXL5005S_BANDWIDTH_6MHZ;
> >                         break;
> >                 default:
> >                         /* Assume DVB-T */
> >                         switch (params->u.ofdm.bandwidth) {
> >                         case BANDWIDTH_6_MHZ:
> >                                 req_bw  = MXL5005S_BANDWIDTH_6MHZ;
> >                                 break;
> >                         case BANDWIDTH_7_MHZ:
> >                                 req_bw  = MXL5005S_BANDWIDTH_7MHZ;
> >                                 break;
> >                         case BANDWIDTH_AUTO:
> >                         case BANDWIDTH_8_MHZ:
> >
> >
> > Jose Alberto Reguero
>
> Easy enough.  Please try the patch here:
>
> http://linuxtv.org/hg/~awalls/v4l-dvb
>
>
>
> Sorry I forgot to add a
>
> Reported-by: Jose Alberto Reguero <jareguero@xxxxxxxxxxxxxx>
>
> in the commit.  I can fix that if things work out.
>
>
> Regards,
> Andy
>

Work well with DVB-T.

Thanks.

Jose Alberto
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux