|
@@ -4816,7 +4816,21 @@ int pvr2_hdw_gpio_chg_out(struct pvr2_hdw *hdw,u32 msk,u32 val)
|
|
|
|
|
|
void pvr2_hdw_status_poll(struct pvr2_hdw *hdw)
|
|
|
{
|
|
|
+ struct v4l2_tuner *vtp = &hdw->tuner_signal_info;
|
|
|
+ memset(vtp, 0, sizeof(*vtp));
|
|
|
pvr2_i2c_core_status_poll(hdw);
|
|
|
+ /* Note: There apparently is no replacement for VIDIOC_CROPCAP
|
|
|
+ using v4l2-subdev - therefore we can't support that AT ALL right
|
|
|
+ now. (Of course, no sub-drivers seem to implement it either.
|
|
|
+ But now it's a a chicken and egg problem...) */
|
|
|
+ v4l2_device_call_all(&hdw->v4l2_dev, 0, tuner, g_tuner,
|
|
|
+ &hdw->tuner_signal_info);
|
|
|
+ pvr2_trace(PVR2_TRACE_CHIPS, "client 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);
|
|
|
}
|
|
|
|
|
|
|