aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/video/tvaudio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/tvaudio.c b/drivers/media/video/tvaudio.c
index 8333efab868..226bf3565ac 100644
--- a/drivers/media/video/tvaudio.c
+++ b/drivers/media/video/tvaudio.c
@@ -2050,6 +2050,7 @@ static int tvaudio_probe(struct i2c_client *client, const struct i2c_device_id *
2050 } 2050 }
2051 2051
2052 chip->thread = NULL; 2052 chip->thread = NULL;
2053 init_timer(&chip->wt);
2053 if (desc->flags & CHIP_NEED_CHECKMODE) { 2054 if (desc->flags & CHIP_NEED_CHECKMODE) {
2054 if (!desc->getmode || !desc->setmode) { 2055 if (!desc->getmode || !desc->setmode) {
2055 /* This shouldn't be happen. Warn user, but keep working 2056 /* This shouldn't be happen. Warn user, but keep working
@@ -2059,7 +2060,6 @@ static int tvaudio_probe(struct i2c_client *client, const struct i2c_device_id *
2059 return 0; 2060 return 0;
2060 } 2061 }
2061 /* start async thread */ 2062 /* start async thread */
2062 init_timer(&chip->wt);
2063 chip->wt.function = chip_thread_wake; 2063 chip->wt.function = chip_thread_wake;
2064 chip->wt.data = (unsigned long)chip; 2064 chip->wt.data = (unsigned long)chip;
2065 chip->thread = kthread_run(chip_thread, chip, client->name); 2065 chip->thread = kthread_run(chip_thread, chip, client->name);