diff options
Diffstat (limited to 'drivers/media/video/s2255drv.c')
-rw-r--r-- | drivers/media/video/s2255drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/s2255drv.c b/drivers/media/video/s2255drv.c index 03d39266d29..41765f3c7c2 100644 --- a/drivers/media/video/s2255drv.c +++ b/drivers/media/video/s2255drv.c | |||
@@ -1958,7 +1958,7 @@ static int save_frame(struct s2255_dev *dev, struct s2255_pipeinfo *pipe_info) | |||
1958 | if (pdword[1] >= MAX_CHANNELS) | 1958 | if (pdword[1] >= MAX_CHANNELS) |
1959 | break; | 1959 | break; |
1960 | cc = G_chnmap[pdword[1]]; | 1960 | cc = G_chnmap[pdword[1]]; |
1961 | if (!(cc >= 0 && cc < MAX_CHANNELS)) | 1961 | if (cc >= MAX_CHANNELS) |
1962 | break; | 1962 | break; |
1963 | switch (pdword[2]) { | 1963 | switch (pdword[2]) { |
1964 | case S2255_RESPONSE_SETMODE: | 1964 | case S2255_RESPONSE_SETMODE: |