aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/pvrusb2
diff options
context:
space:
mode:
authorMike Isely <isely@pobox.com>2009-10-11 23:23:37 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-12-05 15:40:59 -0500
commit00970beb9b51dd1b25c0d91a3f5fe11dd29e38e2 (patch)
tree772865c5a871bbbbd1b96dea864f9a295d0b2cdf /drivers/media/video/pvrusb2
parent271081475427f7d1acf5f8cdc51fc70afe662b17 (diff)
V4L/DVB (13225): pvrusb2: Report hardware description to kernel log upon initialization
The driver also contains a piece of configuration data that produces a one line description of the specific hardware being driver (e.g. "Hauppauge 24xxx", "OnAir", etc). This change generates an informational message to the kernel log reporting the hardware type being driven. This is a very useful thing to know when diagnosing problems. Signed-off-by: Mike Isely <isely@pobox.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/pvrusb2')
-rw-r--r--drivers/media/video/pvrusb2/pvrusb2-hdw.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-hdw.c b/drivers/media/video/pvrusb2/pvrusb2-hdw.c
index 33ea950abb4f..1bfa9b9d7aa0 100644
--- a/drivers/media/video/pvrusb2/pvrusb2-hdw.c
+++ b/drivers/media/video/pvrusb2/pvrusb2-hdw.c
@@ -2439,6 +2439,8 @@ struct pvr2_hdw *pvr2_hdw_create(struct usb_interface *intf,
2439 hdw = kzalloc(sizeof(*hdw),GFP_KERNEL); 2439 hdw = kzalloc(sizeof(*hdw),GFP_KERNEL);
2440 pvr2_trace(PVR2_TRACE_INIT,"pvr2_hdw_create: hdw=%p, type \"%s\"", 2440 pvr2_trace(PVR2_TRACE_INIT,"pvr2_hdw_create: hdw=%p, type \"%s\"",
2441 hdw,hdw_desc->description); 2441 hdw,hdw_desc->description);
2442 pvr2_trace(PVR2_TRACE_INFO, "Hardware description attached: %s",
2443 hdw_desc->description);
2442 if (!hdw) goto fail; 2444 if (!hdw) goto fail;
2443 2445
2444 init_timer(&hdw->quiescent_timer); 2446 init_timer(&hdw->quiescent_timer);