]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/media/video/cx88/cx88-video.c
V4L/DVB (5975): cx88: Wrong values used for HD-3000 radio mode
[linux-2.6-omap-h63xx.git] / drivers / media / video / cx88 / cx88-video.c
index b94ef8ab28c1503f4602565bb7b3c24356614734..41b5cb63fd2d66658b2974a97359d0f057da1d7d 100644 (file)
@@ -1880,8 +1880,14 @@ static int __devinit cx8800_initdev(struct pci_dev *pci_dev,
        mutex_unlock(&core->lock);
 
        /* start tvaudio thread */
-       if (core->tuner_type != TUNER_ABSENT)
+       if (core->tuner_type != TUNER_ABSENT) {
                core->kthread = kthread_run(cx88_audio_thread, core, "cx88 tvaudio");
+               if (IS_ERR(core->kthread)) {
+                       err = PTR_ERR(core->kthread);
+                       printk(KERN_ERR "Failed to create cx88 audio thread, err=%d\n",
+                              err);
+               }
+       }
        return 0;
 
 fail_unreg: