V4L/DVB (4586): Code were preventing saa7111 and saa7118 to work
[safe/jmp/linux-2.6] / drivers / media / video / pms.c
index fb6471e..5d681fa 100644 (file)
@@ -805,7 +805,7 @@ static int pms_do_ioctl(struct inode *inode, struct file *file,
                        struct video_picture *p = arg;
                        if(!((p->palette==VIDEO_PALETTE_RGB565 && p->depth==16)
                            ||(p->palette==VIDEO_PALETTE_RGB555 && p->depth==15)))
-                               return -EINVAL;
+                               return -EINVAL;
                        pd->picture= *p;
 
                        /*