summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c
diff options
context:
space:
mode:
authorMike Isely <isely@pobox.com>2008-02-03 15:47:08 -0600
committerMike Isely <isely@pobox.com>2008-02-03 15:47:08 -0600
commitfc177d0abcf30013e2b986a3b29af3ad7c240cad (patch)
tree88fc1776255c00ff59318f52de8be99dc4c093b3 /linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c
parentec2bc3423e5768eb58b32bc15ebbba3d31f42c85 (diff)
downloadmediapointer-dvb-s2-fc177d0abcf30013e2b986a3b29af3ad7c240cad.tar.gz
mediapointer-dvb-s2-fc177d0abcf30013e2b986a3b29af3ad7c240cad.tar.bz2
pvrusb2: trace print cosmetic cleanup / improvements
From: Mike Isely <isely@pobox.com> Signed-off-by: Mike Isely <isely@pobox.com>
Diffstat (limited to 'linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c')
-rw-r--r--linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c b/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c
index 5dffbe4a7..872a21165 100644
--- a/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c
+++ b/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c
@@ -2414,6 +2414,7 @@ static int pvr2_hdw_commit_execute(struct pvr2_hdw *hdw)
hdw->pathway_state)) {
/* Change of mode being asked for... */
hdw->state_pathway_ok = 0;
+ trace_stbit("state_pathway_ok",hdw->state_pathway_ok);
}
if (!hdw->state_pathway_ok) {
/* Can't commit anything until pathway is ok. */
@@ -3486,6 +3487,7 @@ static int state_eval_pathway_ok(struct pvr2_hdw *hdw)
}
pvr2_hdw_cmd_modeswitch(hdw,hdw->input_val == PVR2_CVAL_INPUT_DTV);
hdw->state_pathway_ok = !0;
+ trace_stbit("state_pathway_ok",hdw->state_pathway_ok);
return !0;
}
@@ -3814,7 +3816,7 @@ static unsigned int pvr2_hdw_report_unlocked(struct pvr2_hdw *hdw,int which,
case 0:
return scnprintf(
buf,acnt,
- "driver:%s%s%s%s%s<mode=%s>",
+ "driver:%s%s%s%s%s <mode=%s>",
(hdw->flag_ok ? " <ok>" : " <fail>"),
(hdw->flag_init_ok ? " <init>" : " <uninitialized>"),
(hdw->flag_disconnected ? " <disconnected>" :
@@ -3853,7 +3855,7 @@ static unsigned int pvr2_hdw_report_unlocked(struct pvr2_hdw *hdw,int which,
(hdw->state_usbstream_run ?
" <usb:run>" : " <usb:stop>"),
(hdw->state_pathway_ok ?
- "<pathway:ok>" : ""));
+ " <pathway:ok>" : ""));
break;
case 3:
return scnprintf(