diff options
author | Mike Isely <isely@pobox.com> | 2007-09-08 20:32:12 -0500 |
---|---|---|
committer | Mike Isely <isely@pobox.com> | 2007-09-08 20:32:12 -0500 |
commit | a8dc6cb8c543ac38a021f92e08314ddd047967ee (patch) | |
tree | 9e4bfb2d2a3f91cfea0007a568449e8189ace45c /linux/drivers/media/video/pvrusb2/pvrusb2-std.c | |
parent | 79fa7fdeb7982ad93dde8528489b2f9f68d66395 (diff) | |
download | mediapointer-dvb-s2-a8dc6cb8c543ac38a021f92e08314ddd047967ee.tar.gz mediapointer-dvb-s2-a8dc6cb8c543ac38a021f92e08314ddd047967ee.tar.bz2 |
pvrusb2: Allocate a debug mask bit for reporting video standard things
From: Mike Isely <isely@pobox.com>
It's useful to see specific details for how the pvrusb2 driver is
figuring out things related to the video standard, independent of
other initialization activities. So let's set up a separate debug
mask bit for this and turn it on.
Signed-off-by: Mike Isely <isely@pobox.com>
Diffstat (limited to 'linux/drivers/media/video/pvrusb2/pvrusb2-std.c')
-rw-r--r-- | linux/drivers/media/video/pvrusb2/pvrusb2-std.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-std.c b/linux/drivers/media/video/pvrusb2/pvrusb2-std.c index 926b6bfca..dd49a60ec 100644 --- a/linux/drivers/media/video/pvrusb2/pvrusb2-std.c +++ b/linux/drivers/media/video/pvrusb2/pvrusb2-std.c @@ -299,7 +299,7 @@ static int pvr2_std_fill(struct v4l2_standard *std,v4l2_std_id id) std->id = id; bcnt = pvr2_std_id_to_str(std->name,sizeof(std->name)-1,id); std->name[bcnt] = 0; - pvr2_trace(PVR2_TRACE_INIT,"Set up standard idx=%u name=%s", + pvr2_trace(PVR2_TRACE_STD,"Set up standard idx=%u name=%s", std->index,std->name); return !0; } @@ -321,11 +321,11 @@ struct v4l2_standard *pvr2_std_create_enum(unsigned int *countptr, v4l2_std_id idmsk,cmsk,fmsk; struct v4l2_standard *stddefs; - if (pvrusb2_debug & PVR2_TRACE_INIT) { + if (pvrusb2_debug & PVR2_TRACE_STD) { char buf[50]; bcnt = pvr2_std_id_to_str(buf,sizeof(buf),id); pvr2_trace( - PVR2_TRACE_INIT,"Mapping standards mask=0x%x (%.*s)", + PVR2_TRACE_STD,"Mapping standards mask=0x%x (%.*s)", (int)id,bcnt,buf); } @@ -356,7 +356,7 @@ struct v4l2_standard *pvr2_std_create_enum(unsigned int *countptr, bcnt,buf); } - pvr2_trace(PVR2_TRACE_INIT,"Setting up %u unique standard(s)", + pvr2_trace(PVR2_TRACE_STD,"Setting up %u unique standard(s)", std_cnt); if (!std_cnt) return NULL; // paranoia |