Commit 00fad5b2 authored by Enrico Scholz's avatar Enrico Scholz

fixup! media:mx6s_capture: ported to v4l2_fh

simplified csi_close()
Signed-off-by: Enrico Scholz's avatarEnrico Scholz <enrico.scholz@sigma-chemnitz.de>
parent 5322b0c1
......@@ -1410,13 +1410,11 @@ static int mx6s_csi_close(struct file *file)
mx6s_csi_deinit(csi_dev);
v4l2_subdev_call(sd, core, s_power, 0);
release_bus_freq(BUS_FREQ_HIGH);
pm_runtime_put(csi_dev->dev);
}
mutex_unlock(&csi_dev->lock);
if (do_release)
pm_runtime_put_sync_suspend(csi_dev->dev);
return rc;
}
......
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