Commit 0c1f14a1 authored by Enrico Scholz's avatar Enrico Scholz

media:mx6s_capture: handle errors in sd.s_power()

parent d4cdfa06
......@@ -1197,7 +1197,12 @@ static int _mx6s_csi_open_init(struct mx6s_csi_dev *csi_dev)
v4l2_subdev_call(sd, core, s_power, 1);
ret = v4l2_subdev_call(sd, core, s_power, 1);
if (ret < 0) {
v4l2_err(sd, "failed to power on device: %d\n", ret);
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