Commit b619bbcf authored by Enrico Scholz's avatar Enrico Scholz

media:mx6s_capture: added ctrl_handler

Signed-off-by: Enrico Scholz's avatarEnrico Scholz <enrico.scholz@sigma-chemnitz.de>
parent 4216d502
......@@ -2126,6 +2126,9 @@ static int mx6s_csi_probe(struct platform_device *pdev)
snprintf(csi_dev->v4l2_dev.name,
sizeof(csi_dev->v4l2_dev.name), "CSI");
v4l2_ctrl_handler_init(&csi_dev->ctrl_handler, 0);
csi_dev->v4l2_dev.ctrl_handler = &csi_dev->ctrl_handler;
ret = v4l2_device_register(dev, &csi_dev->v4l2_dev);
if (ret < 0) {
dev_err(dev, "v4l2_device_register() failed: %d\n", ret);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment