提交 e260508d 编写于 作者: M Mike Isely 提交者: Mauro Carvalho Chehab

V4L/DVB (11192): pvrusb2: Implement trace print for stream on / off action

Signed-off-by: NMike Isely <isely@pobox.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 0b467014
...@@ -1681,6 +1681,8 @@ static int pvr2_decoder_enable(struct pvr2_hdw *hdw,int enablefl) ...@@ -1681,6 +1681,8 @@ static int pvr2_decoder_enable(struct pvr2_hdw *hdw,int enablefl)
this point, we'll broadcast stream on/off to all sub-devices this point, we'll broadcast stream on/off to all sub-devices
anyway, just in case somebody else wants to hear the anyway, just in case somebody else wants to hear the
command... */ command... */
pvr2_trace(PVR2_TRACE_CHIPS, "subdev v4l2 stream=%s",
(enablefl ? "on" : "off"));
v4l2_device_call_all(&hdw->v4l2_dev, 0, video, s_stream, enablefl); v4l2_device_call_all(&hdw->v4l2_dev, 0, video, s_stream, enablefl);
if (hdw->decoder_client_id) { if (hdw->decoder_client_id) {
/* We get here if the encoder has been noticed. Otherwise /* We get here if the encoder has been noticed. Otherwise
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册