linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] v4l2: sn9c102 incorrectly blocks FMT_SN9C10X
@ 2012-10-25 14:39 Alan Cox
  0 siblings, 0 replies; only message in thread
From: Alan Cox @ 2012-10-25 14:39 UTC (permalink / raw)
  To: linux-media

From: Alan Cox <alan@linux.intel.com>

Missing break

Signed-off-by: Alan Cox <alan@linux.intel.com>
---

 drivers/media/usb/sn9c102/sn9c102_core.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/media/usb/sn9c102/sn9c102_core.c b/drivers/media/usb/sn9c102/sn9c102_core.c
index 5bfc8e2..7360586 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;


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-10-25 14:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-25 14:39 [PATCH] v4l2: sn9c102 incorrectly blocks FMT_SN9C10X Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).