1
0
mirror of https://github.com/DigitalDevices/dddvb.git synced 2023-10-10 13:37:43 +02:00

First check for LNBHs on 0x0c/0x0d.

This commit is contained in:
Ralph Metzler 2015-10-22 14:55:55 +02:00
parent 9bcb9a2c9a
commit e83dedf6b4

View File

@ -1250,10 +1250,10 @@ static int demod_attach_stv0910(struct ddb_input *input, int type)
pr_err("No STV0910 found!\n"); pr_err("No STV0910 found!\n");
return -ENODEV; return -ENODEV;
} }
if (!dvb_attach(lnbh25_attach, dvb->fe, i2c,
((input->nr & 1) ? 0x09 : 0x08))) {
if (!dvb_attach(lnbh25_attach, dvb->fe, i2c, if (!dvb_attach(lnbh25_attach, dvb->fe, i2c,
((input->nr & 1) ? 0x0d : 0x0c))) { ((input->nr & 1) ? 0x0d : 0x0c))) {
if (!dvb_attach(lnbh25_attach, dvb->fe, i2c,
((input->nr & 1) ? 0x09 : 0x08))) {
pr_err("No LNBH25 found!\n"); pr_err("No LNBH25 found!\n");
return -ENODEV; return -ENODEV;
} }