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

check on correct link instead of link 0

This commit is contained in:
Ralph Metzler 2018-03-20 22:36:20 +01:00
parent 033432cf2f
commit efbc108939

View File

@ -2005,7 +2005,7 @@ static void ddb_port_probe(struct ddb_port *port)
/* Handle missing ports and ports without I2C */
if (dummy_tuner && !port->nr &&
dev->link[0].ids.device == 0x0005) {
dev->link[l].ids.device == 0x0005) {
port->name = "DUMMY";
port->class = DDB_PORT_TUNER;
port->type = DDB_TUNER_DUMMY;