diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2006-01-15 12:09:23 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@brturbo.com.br> | 2006-01-15 18:26:11 -0500 |
commit | cb8d1aa78e31d7f3511c0b3f25f5a61a4687235f (patch) | |
tree | 1c81f5e36612e110db3cbb4be0f7c1ee97ce29a8 /drivers/media | |
parent | 27487d44712aaa37710cc508d5bd6119f5e9f976 (diff) |
V4L/DVB (3385): Return -EINVAL for unknown commands in msp3400 module.
- Return -EINVAL for unknown commands.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/video/msp3400-driver.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/msp3400-driver.c b/drivers/media/video/msp3400-driver.c index 09ff25b554b6..69ed369c2f48 100644 --- 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) | |||
1031 | } | 1031 | } |
1032 | 1032 | ||
1033 | default: | 1033 | default: |
1034 | /* nothing */ | 1034 | /* unknown */ |
1035 | break; | 1035 | return -EINVAL; |
1036 | } | 1036 | } |
1037 | return 0; | 1037 | return 0; |
1038 | } | 1038 | } |