diff options
Diffstat (limited to 'drivers/media/usb/pwc/pwc-v4l.c')
-rw-r--r-- | drivers/media/usb/pwc/pwc-v4l.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/media/usb/pwc/pwc-v4l.c b/drivers/media/usb/pwc/pwc-v4l.c index 3d987984602f..92f04db6bbae 100644 --- a/drivers/media/usb/pwc/pwc-v4l.c +++ b/drivers/media/usb/pwc/pwc-v4l.c | |||
@@ -406,8 +406,7 @@ static void pwc_vidioc_fill_fmt(struct v4l2_format *f, | |||
406 | f->fmt.pix.bytesperline = f->fmt.pix.width; | 406 | f->fmt.pix.bytesperline = f->fmt.pix.width; |
407 | f->fmt.pix.sizeimage = f->fmt.pix.height * f->fmt.pix.width * 3 / 2; | 407 | f->fmt.pix.sizeimage = f->fmt.pix.height * f->fmt.pix.width * 3 / 2; |
408 | f->fmt.pix.colorspace = V4L2_COLORSPACE_SRGB; | 408 | f->fmt.pix.colorspace = V4L2_COLORSPACE_SRGB; |
409 | PWC_DEBUG_IOCTL("pwc_vidioc_fill_fmt() " | 409 | PWC_DEBUG_IOCTL("pwc_vidioc_fill_fmt() width=%d, height=%d, bytesperline=%d, sizeimage=%d, pixelformat=%c%c%c%c\n", |
410 | "width=%d, height=%d, bytesperline=%d, sizeimage=%d, pixelformat=%c%c%c%c\n", | ||
411 | f->fmt.pix.width, | 410 | f->fmt.pix.width, |
412 | f->fmt.pix.height, | 411 | f->fmt.pix.height, |
413 | f->fmt.pix.bytesperline, | 412 | f->fmt.pix.bytesperline, |
@@ -473,8 +472,7 @@ static int pwc_s_fmt_vid_cap(struct file *file, void *fh, struct v4l2_format *f) | |||
473 | 472 | ||
474 | pixelformat = f->fmt.pix.pixelformat; | 473 | pixelformat = f->fmt.pix.pixelformat; |
475 | 474 | ||
476 | PWC_DEBUG_IOCTL("Trying to set format to: width=%d height=%d fps=%d " | 475 | PWC_DEBUG_IOCTL("Trying to set format to: width=%d height=%d fps=%d format=%c%c%c%c\n", |
477 | "format=%c%c%c%c\n", | ||
478 | f->fmt.pix.width, f->fmt.pix.height, pdev->vframes, | 476 | f->fmt.pix.width, f->fmt.pix.height, pdev->vframes, |
479 | (pixelformat)&255, | 477 | (pixelformat)&255, |
480 | (pixelformat>>8)&255, | 478 | (pixelformat>>8)&255, |