aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/ivtv/ivtv-fileops.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/ivtv/ivtv-fileops.c')
-rw-r--r--drivers/media/video/ivtv/ivtv-fileops.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/video/ivtv/ivtv-fileops.c b/drivers/media/video/ivtv/ivtv-fileops.c
index 555d5e6369c3..ee7e884e9c4f 100644
--- a/drivers/media/video/ivtv/ivtv-fileops.c
+++ b/drivers/media/video/ivtv/ivtv-fileops.c
@@ -406,7 +406,7 @@ static ssize_t ivtv_read_pos(struct ivtv_stream *s, char __user *ubuf, size_t co
406 ssize_t rc = count ? ivtv_read(s, ubuf, count, non_block) : 0; 406 ssize_t rc = count ? ivtv_read(s, ubuf, count, non_block) : 0;
407 struct ivtv *itv = s->itv; 407 struct ivtv *itv = s->itv;
408 408
409 IVTV_DEBUG_INFO("read %zd from %s, got %zd\n", count, s->name, rc); 409 IVTV_DEBUG_HI_INFO("read %zd from %s, got %zd\n", count, s->name, rc);
410 if (rc > 0) 410 if (rc > 0)
411 pos += rc; 411 pos += rc;
412 return rc; 412 return rc;
@@ -497,7 +497,7 @@ ssize_t ivtv_v4l2_read(struct file * filp, char __user *buf, size_t count, loff_
497 struct ivtv_stream *s = &itv->streams[id->type]; 497 struct ivtv_stream *s = &itv->streams[id->type];
498 int rc; 498 int rc;
499 499
500 IVTV_DEBUG_IOCTL("read %zd bytes from %s\n", count, s->name); 500 IVTV_DEBUG_HI_IOCTL("read %zd bytes from %s\n", count, s->name);
501 501
502 rc = ivtv_start_capture(id); 502 rc = ivtv_start_capture(id);
503 if (rc) 503 if (rc)
@@ -535,7 +535,7 @@ ssize_t ivtv_v4l2_write(struct file *filp, const char __user *user_buf, size_t c
535 int rc; 535 int rc;
536 DEFINE_WAIT(wait); 536 DEFINE_WAIT(wait);
537 537
538 IVTV_DEBUG_IOCTL("write %zd bytes to %s\n", count, s->name); 538 IVTV_DEBUG_HI_IOCTL("write %zd bytes to %s\n", count, s->name);
539 539
540 if (s->type != IVTV_DEC_STREAM_TYPE_MPG && 540 if (s->type != IVTV_DEC_STREAM_TYPE_MPG &&
541 s->type != IVTV_DEC_STREAM_TYPE_YUV && 541 s->type != IVTV_DEC_STREAM_TYPE_YUV &&
@@ -643,7 +643,7 @@ retry:
643 to transfer the rest. */ 643 to transfer the rest. */
644 if (count && !(filp->f_flags & O_NONBLOCK)) 644 if (count && !(filp->f_flags & O_NONBLOCK))
645 goto retry; 645 goto retry;
646 IVTV_DEBUG_INFO("Wrote %d bytes to %s (%d)\n", bytes_written, s->name, s->q_full.bytesused); 646 IVTV_DEBUG_HI_INFO("Wrote %d bytes to %s (%d)\n", bytes_written, s->name, s->q_full.bytesused);
647 return bytes_written; 647 return bytes_written;
648} 648}
649 649