diff options
Diffstat (limited to 'drivers/media/video/mxb.c')
-rw-r--r-- | drivers/media/video/mxb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/mxb.c b/drivers/media/video/mxb.c index 3454070e63f..c1fc6dc776f 100644 --- a/drivers/media/video/mxb.c +++ b/drivers/media/video/mxb.c | |||
@@ -478,7 +478,7 @@ static int vidioc_s_input(struct file *file, void *fh, unsigned int input) | |||
478 | 478 | ||
479 | DEB_EE(("VIDIOC_S_INPUT %d.\n", input)); | 479 | DEB_EE(("VIDIOC_S_INPUT %d.\n", input)); |
480 | 480 | ||
481 | if (input < 0 || input >= MXB_INPUTS) | 481 | if (input >= MXB_INPUTS) |
482 | return -EINVAL; | 482 | return -EINVAL; |
483 | 483 | ||
484 | mxb->cur_input = input; | 484 | mxb->cur_input = input; |