projects
/
platform
/
kernel
/
linux-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c058fb
)
[media] v4l2: sn9c102 incorrectly blocks FMT_SN9C10X
author
Alan Cox
<alan@linux.intel.com>
Thu, 25 Oct 2012 13:39:33 +0000
(10:39 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Wed, 21 Nov 2012 20:10:34 +0000
(18:10 -0200)
Missing break
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/sn9c102/sn9c102_core.c
patch
|
blob
|
history
diff --git
a/drivers/media/usb/sn9c102/sn9c102_core.c
b/drivers/media/usb/sn9c102/sn9c102_core.c
index
5bfc8e2
..
7360586
100644
(file)
--- a/
drivers/media/usb/sn9c102/sn9c102_core.c
+++ b/
drivers/media/usb/sn9c102/sn9c102_core.c
@@
-2481,11
+2481,13
@@
sn9c102_vidioc_enum_framesizes(struct sn9c102_device* cam, void __user * arg)
if (frmsize.pixel_format != V4L2_PIX_FMT_SN9C10X &&
frmsize.pixel_format != V4L2_PIX_FMT_SBGGR8)
return -EINVAL;
+ break;
case BRIDGE_SN9C105:
case BRIDGE_SN9C120:
if (frmsize.pixel_format != V4L2_PIX_FMT_JPEG &&
frmsize.pixel_format != V4L2_PIX_FMT_SBGGR8)
return -EINVAL;
+ break;
}
frmsize.type = V4L2_FRMSIZE_TYPE_STEPWISE;