Commit 8b973039 authored by Enrico Scholz's avatar Enrico Scholz

media:mxc-mipi-csi2_yav: pass s_power() to subdev

Signed-off-by: Enrico Scholz's avatarEnrico Scholz <>
parent b619bbcf
......@@ -313,7 +313,10 @@ static int mipi_csi2_open(struct v4l2_subdev *sd, struct v4l2_subdev_fh *fh)
static int mipi_csi2_s_power(struct v4l2_subdev *sd, int on)
return 0;
struct mxc_mipi_csi2_dev *csi2dev = sd_to_mxc_mipi_csi2_dev(sd);
struct v4l2_subdev *sensor_sd = csi2dev->sensor_sd;
return v4l2_subdev_call(sensor_sd, core, s_power, on);
static int mipi_csi2_s_stream(struct v4l2_subdev *sd, int enable)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment