aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/uvc
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@skynet.be>2009-05-06 11:37:44 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-06-16 17:21:10 -0400
commitb2d9cc4226fa512aa36fd78738f5069dfce0583d (patch)
tree35b0af31a65f520b93d4299662a292b37bb8726e /drivers/media/video/uvc
parent078f8947926732a526fb280c0f3a8920bf173b9c (diff)
V4L/DVB (11836): uvcvideo: Add missing whitespaces to multi-line format strings.
Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/uvc')
-rw-r--r--drivers/media/video/uvc/uvc_driver.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/media/video/uvc/uvc_driver.c b/drivers/media/video/uvc/uvc_driver.c
index 34cd36037f11..f4fced34cfd7 100644
--- a/drivers/media/video/uvc/uvc_driver.c
+++ b/drivers/media/video/uvc/uvc_driver.c
@@ -301,7 +301,7 @@ static int uvc_parse_format(struct uvc_device *dev,
301 case VS_FORMAT_FRAME_BASED: 301 case VS_FORMAT_FRAME_BASED:
302 n = buffer[2] == VS_FORMAT_UNCOMPRESSED ? 27 : 28; 302 n = buffer[2] == VS_FORMAT_UNCOMPRESSED ? 27 : 28;
303 if (buflen < n) { 303 if (buflen < n) {
304 uvc_trace(UVC_TRACE_DESCR, "device %d videostreaming" 304 uvc_trace(UVC_TRACE_DESCR, "device %d videostreaming "
305 "interface %d FORMAT error\n", 305 "interface %d FORMAT error\n",
306 dev->udev->devnum, 306 dev->udev->devnum,
307 alts->desc.bInterfaceNumber); 307 alts->desc.bInterfaceNumber);
@@ -336,7 +336,7 @@ static int uvc_parse_format(struct uvc_device *dev,
336 336
337 case VS_FORMAT_MJPEG: 337 case VS_FORMAT_MJPEG:
338 if (buflen < 11) { 338 if (buflen < 11) {
339 uvc_trace(UVC_TRACE_DESCR, "device %d videostreaming" 339 uvc_trace(UVC_TRACE_DESCR, "device %d videostreaming "
340 "interface %d FORMAT error\n", 340 "interface %d FORMAT error\n",
341 dev->udev->devnum, 341 dev->udev->devnum,
342 alts->desc.bInterfaceNumber); 342 alts->desc.bInterfaceNumber);
@@ -352,7 +352,7 @@ static int uvc_parse_format(struct uvc_device *dev,
352 352
353 case VS_FORMAT_DV: 353 case VS_FORMAT_DV:
354 if (buflen < 9) { 354 if (buflen < 9) {
355 uvc_trace(UVC_TRACE_DESCR, "device %d videostreaming" 355 uvc_trace(UVC_TRACE_DESCR, "device %d videostreaming "
356 "interface %d FORMAT error\n", 356 "interface %d FORMAT error\n",
357 dev->udev->devnum, 357 dev->udev->devnum,
358 alts->desc.bInterfaceNumber); 358 alts->desc.bInterfaceNumber);
@@ -370,7 +370,7 @@ static int uvc_parse_format(struct uvc_device *dev,
370 strlcpy(format->name, "HD-DV", sizeof format->name); 370 strlcpy(format->name, "HD-DV", sizeof format->name);
371 break; 371 break;
372 default: 372 default:
373 uvc_trace(UVC_TRACE_DESCR, "device %d videostreaming" 373 uvc_trace(UVC_TRACE_DESCR, "device %d videostreaming "
374 "interface %d: unknown DV format %u\n", 374 "interface %d: unknown DV format %u\n",
375 dev->udev->devnum, 375 dev->udev->devnum,
376 alts->desc.bInterfaceNumber, buffer[8]); 376 alts->desc.bInterfaceNumber, buffer[8]);
@@ -399,7 +399,7 @@ static int uvc_parse_format(struct uvc_device *dev,
399 case VS_FORMAT_STREAM_BASED: 399 case VS_FORMAT_STREAM_BASED:
400 /* Not supported yet. */ 400 /* Not supported yet. */
401 default: 401 default:
402 uvc_trace(UVC_TRACE_DESCR, "device %d videostreaming" 402 uvc_trace(UVC_TRACE_DESCR, "device %d videostreaming "
403 "interface %d unsupported format %u\n", 403 "interface %d unsupported format %u\n",
404 dev->udev->devnum, alts->desc.bInterfaceNumber, 404 dev->udev->devnum, alts->desc.bInterfaceNumber,
405 buffer[2]); 405 buffer[2]);
@@ -424,7 +424,7 @@ static int uvc_parse_format(struct uvc_device *dev,
424 n = n ? n : 3; 424 n = n ? n : 3;
425 425
426 if (buflen < 26 + 4*n) { 426 if (buflen < 26 + 4*n) {
427 uvc_trace(UVC_TRACE_DESCR, "device %d videostreaming" 427 uvc_trace(UVC_TRACE_DESCR, "device %d videostreaming "
428 "interface %d FRAME error\n", dev->udev->devnum, 428 "interface %d FRAME error\n", dev->udev->devnum,
429 alts->desc.bInterfaceNumber); 429 alts->desc.bInterfaceNumber);
430 return -EINVAL; 430 return -EINVAL;
@@ -498,7 +498,7 @@ static int uvc_parse_format(struct uvc_device *dev,
498 498
499 if (buflen > 2 && buffer[2] == VS_COLORFORMAT) { 499 if (buflen > 2 && buffer[2] == VS_COLORFORMAT) {
500 if (buflen < 6) { 500 if (buflen < 6) {
501 uvc_trace(UVC_TRACE_DESCR, "device %d videostreaming" 501 uvc_trace(UVC_TRACE_DESCR, "device %d videostreaming "
502 "interface %d COLORFORMAT error\n", 502 "interface %d COLORFORMAT error\n",
503 dev->udev->devnum, 503 dev->udev->devnum,
504 alts->desc.bInterfaceNumber); 504 alts->desc.bInterfaceNumber);
@@ -1296,7 +1296,7 @@ static int uvc_scan_chain_forward(struct uvc_video_device *video,
1296 continue; 1296 continue;
1297 1297
1298 if (forward->extension.bNrInPins != 1) { 1298 if (forward->extension.bNrInPins != 1) {
1299 uvc_trace(UVC_TRACE_DESCR, "Extension unit %d has" 1299 uvc_trace(UVC_TRACE_DESCR, "Extension unit %d has "
1300 "more than 1 input pin.\n", entity->id); 1300 "more than 1 input pin.\n", entity->id);
1301 return -1; 1301 return -1;
1302 } 1302 }