projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd15eba
)
[PATCH] v4l: 721: check kthread correctly
author
Alexey Dobriyan
<adobriyan@gmail.com>
Wed, 9 Nov 2005 05:37:12 +0000
(21:37 -0800)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Wed, 9 Nov 2005 15:56:15 +0000
(07:56 -0800)
- Check ->kthread correctly
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/media/video/msp3400.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/media/video/msp3400.c
b/drivers/media/video/msp3400.c
index 6e2b0775a74e332941280d1c04e9d2febb11a210..88cc793c0bc95e6ee6ab1ab6f1a902adaf396561 100644
(file)
--- a/
drivers/media/video/msp3400.c
+++ b/
drivers/media/video/msp3400.c
@@
-1566,7
+1566,7
@@
static int msp_detach(struct i2c_client *client)
struct msp3400c *msp = i2c_get_clientdata(client);
/* shutdown control thread */
- if (msp->kthread
>= 0
) {
+ if (msp->kthread) {
msp->restart = 1;
kthread_stop(msp->kthread);
}