summaryrefslogtreecommitdiff
path: root/drivers/media/i2c/ad9389b.c
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2016-04-22 13:03:41 (GMT)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2016-04-25 11:14:38 (GMT)
commit035677761fec4a472491d53f4dfa5dbc8edd2f7a (patch)
tree0911d69a8ccaffca433365d1e77a8fd75d7995e6 /drivers/media/i2c/ad9389b.c
parentc040a71f1a79caa132f718ef533d47ec63a0efd2 (diff)
downloadlinux-035677761fec4a472491d53f4dfa5dbc8edd2f7a.tar.xz
[media] media/i2c/adv*: make controls inheritable instead of private
Marking these controls as private seemed a good idea at one time, but in practice it makes no sense. So drop this. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/i2c/ad9389b.c')
-rw-r--r--drivers/media/i2c/ad9389b.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/media/i2c/ad9389b.c b/drivers/media/i2c/ad9389b.c
index 788967d..0462f46 100644
--- a/drivers/media/i2c/ad9389b.c
+++ b/drivers/media/i2c/ad9389b.c
@@ -1130,8 +1130,6 @@ static int ad9389b_probe(struct i2c_client *client, const struct i2c_device_id *
hdl = &state->hdl;
v4l2_ctrl_handler_init(hdl, 5);
- /* private controls */
-
state->hdmi_mode_ctrl = v4l2_ctrl_new_std_menu(hdl, &ad9389b_ctrl_ops,
V4L2_CID_DV_TX_MODE, V4L2_DV_TX_MODE_HDMI,
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;
}
- 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;
err = media_entity_pads_init(&sd->entity, 1, &state->pad);
if (err)