]> err.no Git - linux-2.6/commitdiff
V4L/DVB (5085): Pvrusb2: trace print added
authorMike Isely <isely@pobox.com>
Sat, 20 Jan 2007 03:22:28 +0000 (00:22 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 21 Feb 2007 15:34:39 +0000 (13:34 -0200)
Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/pvrusb2/pvrusb2-i2c-core.c

index 35a06652a60c786e6e3d4196faf7a49d8140834d..540233e9d6b78a3881f38bfbd799eb06decc1dfe 100644 (file)
@@ -605,6 +605,12 @@ void pvr2_i2c_core_status_poll(struct pvr2_hdw *hdw)
                        cp->status_poll(cp);
                }
                hdw->tuner_signal_stale = 0;
+               pvr2_trace(PVR2_TRACE_CHIPS,"i2c status poll"
+                          " type=%u strength=%u audio=0x%x cap=0x%x"
+                          " low=%u hi=%u",
+                          vtp->type,
+                          vtp->signal,vtp->rxsubchans,vtp->capability,
+                          vtp->rangelow,vtp->rangehigh);
        } while (0); mutex_unlock(&hdw->i2c_list_lock);
 }