diff options
author | Mike Isely <isely@pobox.com> | 2006-06-25 20:30:47 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-06-26 23:17:33 -0400 |
commit | 0885ba1d5ebd5a526993e7329ca4fb6c866f3315 (patch) | |
tree | 44bea0826be3b88197fa58235f03e6d6fa1526c9 | |
parent | b30d244176846de3480ae17097a5f7831ec6aaf6 (diff) |
V4L/DVB (4245): Reduce the amount of pvrusb2-sourced noise going into the system log
Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r-- | drivers/media/video/pvrusb2/pvrusb2-hdw.c | 2 | ||||
-rw-r--r-- | drivers/media/video/pvrusb2/pvrusb2-main.c | 8 | ||||
-rw-r--r-- | drivers/media/video/pvrusb2/pvrusb2-v4l2.c | 10 |
3 files changed, 6 insertions, 14 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-hdw.c b/drivers/media/video/pvrusb2/pvrusb2-hdw.c index 7d4799a1c554..2fd40e061ccc 100644 --- a/drivers/media/video/pvrusb2/pvrusb2-hdw.c +++ b/drivers/media/video/pvrusb2/pvrusb2-hdw.c | |||
@@ -1532,7 +1532,7 @@ static void pvr2_hdw_setup_std(struct pvr2_hdw *hdw) | |||
1532 | return; | 1532 | return; |
1533 | } | 1533 | } |
1534 | 1534 | ||
1535 | pvr2_trace(PVR2_TRACE_EEPROM, | 1535 | pvr2_trace(PVR2_TRACE_ERROR_LEGS, |
1536 | "Unable to select a viable initial video standard"); | 1536 | "Unable to select a viable initial video standard"); |
1537 | } | 1537 | } |
1538 | 1538 | ||
diff --git a/drivers/media/video/pvrusb2/pvrusb2-main.c b/drivers/media/video/pvrusb2/pvrusb2-main.c index d3c538cd0319..b95248274ed0 100644 --- a/drivers/media/video/pvrusb2/pvrusb2-main.c +++ b/drivers/media/video/pvrusb2/pvrusb2-main.c | |||
@@ -46,14 +46,6 @@ | |||
46 | PVR2_TRACE_INFO| \ | 46 | PVR2_TRACE_INFO| \ |
47 | PVR2_TRACE_TOLERANCE| \ | 47 | PVR2_TRACE_TOLERANCE| \ |
48 | PVR2_TRACE_TRAP| \ | 48 | PVR2_TRACE_TRAP| \ |
49 | PVR2_TRACE_FIRMWARE| \ | ||
50 | PVR2_TRACE_EEPROM | \ | ||
51 | PVR2_TRACE_INIT | \ | ||
52 | PVR2_TRACE_I2C | \ | ||
53 | PVR2_TRACE_CHIPS | \ | ||
54 | PVR2_TRACE_START_STOP | \ | ||
55 | PVR2_TRACE_CTL | \ | ||
56 | PVR2_TRACE_DEBUGIFC | \ | ||
57 | 0) | 49 | 0) |
58 | 50 | ||
59 | int pvrusb2_debug = DEFAULT_DEBUG_MASK; | 51 | int pvrusb2_debug = DEFAULT_DEBUG_MASK; |
diff --git a/drivers/media/video/pvrusb2/pvrusb2-v4l2.c b/drivers/media/video/pvrusb2/pvrusb2-v4l2.c index 5e8fd8630110..37dc5d7b42ae 100644 --- a/drivers/media/video/pvrusb2/pvrusb2-v4l2.c +++ b/drivers/media/video/pvrusb2/pvrusb2-v4l2.c | |||
@@ -526,7 +526,7 @@ static int pvr2_v4l2_do_ioctl(struct inode *inode, struct file *file, | |||
526 | cptr = pvr2_hdw_get_ctrl_v4l(hdw,vc->id); | 526 | cptr = pvr2_hdw_get_ctrl_v4l(hdw,vc->id); |
527 | } | 527 | } |
528 | if (!cptr) { | 528 | if (!cptr) { |
529 | pvr2_trace(PVR2_TRACE_ERROR_LEGS, | 529 | pvr2_trace(PVR2_TRACE_V4LIOCTL, |
530 | "QUERYCTRL id=0x%x not implemented here", | 530 | "QUERYCTRL id=0x%x not implemented here", |
531 | vc->id); | 531 | vc->id); |
532 | ret = -EINVAL; | 532 | ret = -EINVAL; |
@@ -560,7 +560,7 @@ static int pvr2_v4l2_do_ioctl(struct inode *inode, struct file *file, | |||
560 | vc->step = 1; | 560 | vc->step = 1; |
561 | break; | 561 | break; |
562 | default: | 562 | default: |
563 | pvr2_trace(PVR2_TRACE_ERROR_LEGS, | 563 | pvr2_trace(PVR2_TRACE_V4LIOCTL, |
564 | "QUERYCTRL id=0x%x name=%s not mappable", | 564 | "QUERYCTRL id=0x%x name=%s not mappable", |
565 | vc->id,pvr2_ctrl_get_name(cptr)); | 565 | vc->id,pvr2_ctrl_get_name(cptr)); |
566 | ret = -EINVAL; | 566 | ret = -EINVAL; |
@@ -678,11 +678,11 @@ static int pvr2_v4l2_do_ioctl(struct inode *inode, struct file *file, | |||
678 | 678 | ||
679 | if (ret < 0) { | 679 | if (ret < 0) { |
680 | if (pvrusb2_debug & PVR2_TRACE_V4LIOCTL) { | 680 | if (pvrusb2_debug & PVR2_TRACE_V4LIOCTL) { |
681 | pvr2_trace(PVR2_TRACE_ERROR_LEGS, | 681 | pvr2_trace(PVR2_TRACE_V4LIOCTL, |
682 | "pvr2_v4l2_do_ioctl failure, ret=%d",ret); | 682 | "pvr2_v4l2_do_ioctl failure, ret=%d",ret); |
683 | } else { | 683 | } else { |
684 | if (pvrusb2_debug & PVR2_TRACE_ERROR_LEGS) { | 684 | if (pvrusb2_debug & PVR2_TRACE_V4LIOCTL) { |
685 | pvr2_trace(PVR2_TRACE_ERROR_LEGS, | 685 | pvr2_trace(PVR2_TRACE_V4LIOCTL, |
686 | "pvr2_v4l2_do_ioctl failure, ret=%d" | 686 | "pvr2_v4l2_do_ioctl failure, ret=%d" |
687 | " command was:",ret); | 687 | " command was:",ret); |
688 | v4l_print_ioctl(pvr2_hdw_get_driver_name(hdw), | 688 | v4l_print_ioctl(pvr2_hdw_get_driver_name(hdw), |