summaryrefslogtreecommitdiff
path: root/drivers/media/usb/sn9c102/sn9c102_core.c
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2012-10-25 10:39:33 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-11-21 18:10:34 -0200
commit9001a4bbde2f7566d47519915ee71d45dfad4a02 (patch)
treedde1cc964e9d264d24c038180fc36649e1a53784 /drivers/media/usb/sn9c102/sn9c102_core.c
parent6c058fb66e66bab8a0725753dd58f5c140af07f2 (diff)
downloadlwn-9001a4bbde2f7566d47519915ee71d45dfad4a02.tar.gz
lwn-9001a4bbde2f7566d47519915ee71d45dfad4a02.zip
[media] v4l2: sn9c102 incorrectly blocks FMT_SN9C10X
Missing break Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/usb/sn9c102/sn9c102_core.c')
-rw-r--r--drivers/media/usb/sn9c102/sn9c102_core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/usb/sn9c102/sn9c102_core.c b/drivers/media/usb/sn9c102/sn9c102_core.c
index 5bfc8e2f018f..73605864fffa 100644
--- 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;