[media] ngene: Fix return code if no demux was found
Fix return code if no demux was found (cineS2_probe). Signed-off-by: Oliver Endriss <o.endriss@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
Родитель
9143a437cc
Коммит
d9396b8410
|
@ -274,6 +274,7 @@ static int cineS2_probe(struct ngene_channel *chan)
|
||||||
demod_attach_drxk(chan, i2c);
|
demod_attach_drxk(chan, i2c);
|
||||||
} else {
|
} else {
|
||||||
printk(KERN_ERR "No demod found on chan %d\n", chan->number);
|
printk(KERN_ERR "No demod found on chan %d\n", chan->number);
|
||||||
|
return -ENODEV;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче