diff options
Diffstat (limited to 'drivers/media/video/cx88/cx88-video.c')
-rw-r--r-- | drivers/media/video/cx88/cx88-video.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/media/video/cx88/cx88-video.c b/drivers/media/video/cx88/cx88-video.c index 98fa35421bdd..06b233a7b20b 100644 --- a/drivers/media/video/cx88/cx88-video.c +++ b/drivers/media/video/cx88/cx88-video.c | |||
@@ -1881,8 +1881,14 @@ static int __devinit cx8800_initdev(struct pci_dev *pci_dev, | |||
1881 | mutex_unlock(&core->lock); | 1881 | mutex_unlock(&core->lock); |
1882 | 1882 | ||
1883 | /* start tvaudio thread */ | 1883 | /* start tvaudio thread */ |
1884 | if (core->tuner_type != TUNER_ABSENT) | 1884 | if (core->tuner_type != TUNER_ABSENT) { |
1885 | core->kthread = kthread_run(cx88_audio_thread, core, "cx88 tvaudio"); | 1885 | core->kthread = kthread_run(cx88_audio_thread, core, "cx88 tvaudio"); |
1886 | if (IS_ERR(core->kthread)) { | ||
1887 | err = PTR_ERR(core->kthread); | ||
1888 | printk(KERN_ERR "Failed to create cx88 audio thread, err=%d\n", | ||
1889 | err); | ||
1890 | } | ||
1891 | } | ||
1886 | return 0; | 1892 | return 0; |
1887 | 1893 | ||
1888 | fail_unreg: | 1894 | fail_unreg: |