summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMarcus Glocker <mglocker@cvs.openbsd.org>2010-07-26 07:12:22 +0000
committerMarcus Glocker <mglocker@cvs.openbsd.org>2010-07-26 07:12:22 +0000
commit354597f26b3cffb712cdcb42261d8c8251a5ab87 (patch)
tree5795c56c7fbd59d766b5f186da661114eb22b0ab /sys
parent1b91284135be51a72e650d309b655ffdff7387fd (diff)
Fix some spacing / comment.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/usb/uvideo.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/sys/dev/usb/uvideo.c b/sys/dev/usb/uvideo.c
index e216059dd4c..127367ee99a 100644
--- a/sys/dev/usb/uvideo.c
+++ b/sys/dev/usb/uvideo.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvideo.c,v 1.134 2010/07/26 07:01:08 mglocker Exp $ */
+/* $OpenBSD: uvideo.c,v 1.135 2010/07/26 07:12:21 mglocker Exp $ */
/*
* Copyright (c) 2008 Robert Nagy <robert@openbsd.org>
@@ -310,7 +310,7 @@ struct uvideo_devs {
},
{
/* Has a non-standard streaming header protocol */
- { USB_VENDOR_APPLE, USB_PRODUCT_APPLE_ISIGHT_1},
+ { USB_VENDOR_APPLE, USB_PRODUCT_APPLE_ISIGHT_1 },
NULL,
NULL,
UVIDEO_FLAG_ISIGHT_STREAM_HEADER
@@ -323,7 +323,7 @@ struct uvideo_devs {
},
{
/* Needs to fix dwMaxVideoFrameSize */
- { USB_VENDOR_CHENSOURCE, USB_PRODUCT_CHENSOURCE_CM12402},
+ { USB_VENDOR_CHENSOURCE, USB_PRODUCT_CHENSOURCE_CM12402 },
NULL,
NULL,
UVIDEO_FLAG_FIX_MAX_VIDEO_FRAME_SIZE
@@ -1115,8 +1115,7 @@ uvideo_vs_parse_desc_frame_uncompressed(struct uvideo_softc *sc,
/*
* On some broken device, dwMaxVideoFrameBufferSize is not correct.
- * So fix it by frame width/height.
- * XXX: YUV2 format only
+ * So fix it by frame width/height (XXX YUV2 format only).
*/
if (sc->sc_quirk &&
sc->sc_quirk->flags & UVIDEO_FLAG_FIX_MAX_VIDEO_FRAME_SIZE &&
@@ -1468,7 +1467,7 @@ uvideo_vs_get_probe(struct uvideo_softc *sc, uint8_t *probe_data,
/*
* On some broken device, the above value is not correct.
- * So fix it by frame width/height (XXX:YUV2 format only)
+ * So fix it by frame width/height (XXX YUV2 format only).
*/
if (sc->sc_quirk &&
sc->sc_quirk->flags &