Commit 766b5c3e authored by Enrico Scholz's avatar Enrico Scholz
Browse files

media:mxc-mipi-csi2_yav: fixed error path

Signed-off-by: Enrico Scholz's avatarEnrico Scholz <>
parent 69171f39
......@@ -593,6 +593,7 @@ static int subdev_notifier_bound(struct v4l2_async_notifier *notifier,
&sink->pads[0], MEDIA_LNK_FL_ENABLED);
if (rc < 0 && rc != -ENOIOCTLCMD) {
v4l2_err(&csi2dev->v4l2_dev, "failed to link pads: %d\n", rc);
csi2dev->sensor_sd = NULL;
goto out;
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