|
@@ -1130,8 +1130,6 @@ static int ad9389b_probe(struct i2c_client *client, const struct i2c_device_id *
|
|
|
hdl = &state->hdl;
|
|
hdl = &state->hdl;
|
|
|
v4l2_ctrl_handler_init(hdl, 5);
|
|
v4l2_ctrl_handler_init(hdl, 5);
|
|
|
|
|
|
|
|
- /* private controls */
|
|
|
|
|
-
|
|
|
|
|
state->hdmi_mode_ctrl = v4l2_ctrl_new_std_menu(hdl, &ad9389b_ctrl_ops,
|
|
state->hdmi_mode_ctrl = v4l2_ctrl_new_std_menu(hdl, &ad9389b_ctrl_ops,
|
|
|
V4L2_CID_DV_TX_MODE, V4L2_DV_TX_MODE_HDMI,
|
|
V4L2_CID_DV_TX_MODE, V4L2_DV_TX_MODE_HDMI,
|
|
|
0, V4L2_DV_TX_MODE_DVI_D);
|
|
0, V4L2_DV_TX_MODE_DVI_D);
|
|
@@ -1151,12 +1149,6 @@ static int ad9389b_probe(struct i2c_client *client, const struct i2c_device_id *
|
|
|
|
|
|
|
|
goto err_hdl;
|
|
goto err_hdl;
|
|
|
}
|
|
}
|
|
|
- state->hdmi_mode_ctrl->is_private = true;
|
|
|
|
|
- state->hotplug_ctrl->is_private = true;
|
|
|
|
|
- state->rx_sense_ctrl->is_private = true;
|
|
|
|
|
- state->have_edid0_ctrl->is_private = true;
|
|
|
|
|
- state->rgb_quantization_range_ctrl->is_private = true;
|
|
|
|
|
-
|
|
|
|
|
state->pad.flags = MEDIA_PAD_FL_SINK;
|
|
state->pad.flags = MEDIA_PAD_FL_SINK;
|
|
|
err = media_entity_pads_init(&sd->entity, 1, &state->pad);
|
|
err = media_entity_pads_init(&sd->entity, 1, &state->pad);
|
|
|
if (err)
|
|
if (err)
|