diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2005-11-09 06:37:12 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-09 16:56:15 +0100 |
commit | 4d63cb45a2ee5cbf2e6d568fb2c4007a52e21bcf (patch) | |
tree | 575098ca6fd019946219bc761646e0c0e2cc55e3 /drivers/media | |
parent | [PATCH] v4l: 720: alsa support for saa7134 that should work wonderful (diff) | |
download | linux-4d63cb45a2ee5cbf2e6d568fb2c4007a52e21bcf.tar.xz linux-4d63cb45a2ee5cbf2e6d568fb2c4007a52e21bcf.zip |
[PATCH] v4l: 721: check kthread correctly
- 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>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/video/msp3400.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/msp3400.c b/drivers/media/video/msp3400.c index 6e2b0775a74e..88cc793c0bc9 100644 --- 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); } |