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>
This commit is contained in:
parent
b30d244176
commit
0885ba1d5e
3 changed files with 6 additions and 14 deletions
|
@ -1532,7 +1532,7 @@ static void pvr2_hdw_setup_std(struct pvr2_hdw *hdw)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
pvr2_trace(PVR2_TRACE_EEPROM,
|
pvr2_trace(PVR2_TRACE_ERROR_LEGS,
|
||||||
"Unable to select a viable initial video standard");
|
"Unable to select a viable initial video standard");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -46,14 +46,6 @@
|
||||||
PVR2_TRACE_INFO| \
|
PVR2_TRACE_INFO| \
|
||||||
PVR2_TRACE_TOLERANCE| \
|
PVR2_TRACE_TOLERANCE| \
|
||||||
PVR2_TRACE_TRAP| \
|
PVR2_TRACE_TRAP| \
|
||||||
PVR2_TRACE_FIRMWARE| \
|
|
||||||
PVR2_TRACE_EEPROM | \
|
|
||||||
PVR2_TRACE_INIT | \
|
|
||||||
PVR2_TRACE_I2C | \
|
|
||||||
PVR2_TRACE_CHIPS | \
|
|
||||||
PVR2_TRACE_START_STOP | \
|
|
||||||
PVR2_TRACE_CTL | \
|
|
||||||
PVR2_TRACE_DEBUGIFC | \
|
|
||||||
0)
|
0)
|
||||||
|
|
||||||
int pvrusb2_debug = DEFAULT_DEBUG_MASK;
|
int pvrusb2_debug = DEFAULT_DEBUG_MASK;
|
||||||
|
|
|
@ -526,7 +526,7 @@ static int pvr2_v4l2_do_ioctl(struct inode *inode, struct file *file,
|
||||||
cptr = pvr2_hdw_get_ctrl_v4l(hdw,vc->id);
|
cptr = pvr2_hdw_get_ctrl_v4l(hdw,vc->id);
|
||||||
}
|
}
|
||||||
if (!cptr) {
|
if (!cptr) {
|
||||||
pvr2_trace(PVR2_TRACE_ERROR_LEGS,
|
pvr2_trace(PVR2_TRACE_V4LIOCTL,
|
||||||
"QUERYCTRL id=0x%x not implemented here",
|
"QUERYCTRL id=0x%x not implemented here",
|
||||||
vc->id);
|
vc->id);
|
||||||
ret = -EINVAL;
|
ret = -EINVAL;
|
||||||
|
@ -560,7 +560,7 @@ static int pvr2_v4l2_do_ioctl(struct inode *inode, struct file *file,
|
||||||
vc->step = 1;
|
vc->step = 1;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
pvr2_trace(PVR2_TRACE_ERROR_LEGS,
|
pvr2_trace(PVR2_TRACE_V4LIOCTL,
|
||||||
"QUERYCTRL id=0x%x name=%s not mappable",
|
"QUERYCTRL id=0x%x name=%s not mappable",
|
||||||
vc->id,pvr2_ctrl_get_name(cptr));
|
vc->id,pvr2_ctrl_get_name(cptr));
|
||||||
ret = -EINVAL;
|
ret = -EINVAL;
|
||||||
|
@ -678,11 +678,11 @@ static int pvr2_v4l2_do_ioctl(struct inode *inode, struct file *file,
|
||||||
|
|
||||||
if (ret < 0) {
|
if (ret < 0) {
|
||||||
if (pvrusb2_debug & PVR2_TRACE_V4LIOCTL) {
|
if (pvrusb2_debug & PVR2_TRACE_V4LIOCTL) {
|
||||||
pvr2_trace(PVR2_TRACE_ERROR_LEGS,
|
pvr2_trace(PVR2_TRACE_V4LIOCTL,
|
||||||
"pvr2_v4l2_do_ioctl failure, ret=%d",ret);
|
"pvr2_v4l2_do_ioctl failure, ret=%d",ret);
|
||||||
} else {
|
} else {
|
||||||
if (pvrusb2_debug & PVR2_TRACE_ERROR_LEGS) {
|
if (pvrusb2_debug & PVR2_TRACE_V4LIOCTL) {
|
||||||
pvr2_trace(PVR2_TRACE_ERROR_LEGS,
|
pvr2_trace(PVR2_TRACE_V4LIOCTL,
|
||||||
"pvr2_v4l2_do_ioctl failure, ret=%d"
|
"pvr2_v4l2_do_ioctl failure, ret=%d"
|
||||||
" command was:",ret);
|
" command was:",ret);
|
||||||
v4l_print_ioctl(pvr2_hdw_get_driver_name(hdw),
|
v4l_print_ioctl(pvr2_hdw_get_driver_name(hdw),
|
||||||
|
|
Loading…
Reference in a new issue