Re: [PATCH 2/4] rtl28xxu: swap frontend order for devices with slave demodulators

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

 



On 12/14/2014 09:05 AM, Antti Palosaari wrote:
[...]
I just tested that patch, and it behaves just like I expected - does not work at all (because RTL2832 TS bypass will not be enabled anymore).

Here is log, first with your patch, then I fixed it a little as diff shows, and after that scan works. I wonder what kind of test you did for it - or do you have some other hacks committed...

I tried running w_scan. I remember that I also tried with changing this:

case TUNER_RTL2832_R828D:
        fe = dvb_attach(r820t_attach, adap->fe[0],
                priv->demod_i2c_adapter,
                &rtl2832u_r828d_config);
        adap->fe[0]->ops.read_signal_strength =
                adap->fe[0]->ops.tuner_ops.get_rf_strength;

        if (adap->fe[1]) {
            fe = dvb_attach(r820t_attach, adap->fe[1],
                    priv->demod_i2c_adapter,
                    &rtl2832u_r828d_config);
            adap->fe[1]->ops.read_signal_strength =
adap->fe[1]->ops.tuner_ops.get_rf_strength;
        }

to
case TUNER_RTL2832_R828D:
        if (adap->fe[1]) {
            fe = dvb_attach(r820t_attach, adap->fe[1],
                    priv->demod_i2c_adapter,
                    &rtl2832u_r828d_config);
            adap->fe[1]->ops.read_signal_strength =
adap->fe[1]->ops.tuner_ops.get_rf_strength;
        }

        fe = dvb_attach(r820t_attach, adap->fe[0],
                priv->demod_i2c_adapter,
                &rtl2832u_r828d_config);
        adap->fe[0]->ops.read_signal_strength =
                adap->fe[0]->ops.tuner_ops.get_rf_strength;


I must have had that change still active in my tree. Does that make any sense?

MvH
Benjamin Larsson
--
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