V4L/DVB (11164): pvrusb2: Tie-in sub-device log requests
authorMike Isely <isely@pobox.com>
Sat, 7 Mar 2009 03:02:33 +0000 (00:02 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Mar 2009 15:43:34 +0000 (12:43 -0300)
Trigger a broadcast to attached sub-devices when a logging request is made.

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/pvrusb2/pvrusb2-hdw.c

index 4c24028856a369a6f58c1d2aef4e1262a1f3a55b..9669d6a4fb9e2cede16c98a2ef7d4967ec6b1d81 100644 (file)
@@ -3206,6 +3206,7 @@ void pvr2_hdw_trigger_module_log(struct pvr2_hdw *hdw)
                pvr2_i2c_core_check_stale(hdw);
                pvr2_i2c_core_sync(hdw);
                hdw->log_requested = 0;
+               v4l2_device_call_all(&hdw->v4l2_dev, 0, core, log_status);
                pvr2_trace(PVR2_TRACE_INFO,"cx2341x config:");
                cx2341x_log_status(&hdw->enc_ctl_state, "pvrusb2");
                pvr2_hdw_state_log_state(hdw);