projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27487d4
)
V4L/DVB (3385): Return -EINVAL for unknown commands in msp3400 module.
author
Hans Verkuil
<hverkuil@xs4all.nl>
Sun, 15 Jan 2006 17:09:23 +0000
(15:09 -0200)
committer
Mauro Carvalho Chehab
<mchehab@brturbo.com.br>
Sun, 15 Jan 2006 23:26:11 +0000
(21:26 -0200)
- Return -EINVAL for unknown commands.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/msp3400-driver.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/msp3400-driver.c
b/drivers/media/video/msp3400-driver.c
index 09ff25b554b60dada013444d8602e021a733890f..69ed369c2f4801227f57c529123d5235bfd039ef 100644
(file)
--- a/
drivers/media/video/msp3400-driver.c
+++ b/
drivers/media/video/msp3400-driver.c
@@
-1031,8
+1031,8
@@
static int msp_command(struct i2c_client *client, unsigned int cmd, void *arg)
}
default:
- /*
nothing
*/
-
break
;
+ /*
unknown
*/
+
return -EINVAL
;
}
return 0;
}