Bug in mxl5005s driver

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

 



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


--
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