diff options
Diffstat (limited to 'drivers/media/video/msp3400-driver.c')
-rw-r--r-- | drivers/media/video/msp3400-driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/msp3400-driver.c b/drivers/media/video/msp3400-driver.c index 295cb994beb0..2fb9fe6a1ae7 100644 --- a/drivers/media/video/msp3400-driver.c +++ b/drivers/media/video/msp3400-driver.c | |||
@@ -949,7 +949,7 @@ static int msp_attach(struct i2c_adapter *adapter, int address, int kind) | |||
949 | if (thread_func) { | 949 | if (thread_func) { |
950 | state->kthread = kthread_run(thread_func, client, "msp34xx"); | 950 | state->kthread = kthread_run(thread_func, client, "msp34xx"); |
951 | 951 | ||
952 | if (state->kthread == NULL) | 952 | if (IS_ERR(state->kthread)) |
953 | v4l_warn(client, "kernel_thread() failed\n"); | 953 | v4l_warn(client, "kernel_thread() failed\n"); |
954 | msp_wake_thread(client); | 954 | msp_wake_thread(client); |
955 | } | 955 | } |