Updated from Linux LTS 3.10.24 to 3.10.25
This commit is contained in:
@@ -4226,7 +4226,8 @@ static int bttv_probe(struct pci_dev *dev, const struct pci_device_id *pci_id)
|
||||
}
|
||||
btv->std = V4L2_STD_PAL;
|
||||
init_irqreg(btv);
|
||||
v4l2_ctrl_handler_setup(hdl);
|
||||
if (!bttv_tvcards[btv->c.type].no_video)
|
||||
v4l2_ctrl_handler_setup(hdl);
|
||||
if (hdl->error) {
|
||||
result = hdl->error;
|
||||
goto fail2;
|
||||
|
||||
@@ -1348,9 +1348,11 @@ static int saa7164_initdev(struct pci_dev *pci_dev,
|
||||
if (fw_debug) {
|
||||
dev->kthread = kthread_run(saa7164_thread_function, dev,
|
||||
"saa7164 debug");
|
||||
if (!dev->kthread)
|
||||
if (IS_ERR(dev->kthread)) {
|
||||
dev->kthread = NULL;
|
||||
printk(KERN_ERR "%s() Failed to create "
|
||||
"debug kernel thread\n", __func__);
|
||||
}
|
||||
}
|
||||
|
||||
} /* != BOARD_UNKNOWN */
|
||||
|
||||
Reference in New Issue
Block a user