@@ -1195,18 +1195,10 @@ static int fimc_lite_subdev_s_stream(struct v4l2_subdev *sd, int on)
/* TODO: */
return 0;
-}
-static int fimc_lite_subdev_s_power(struct v4l2_subdev *sd, int on)
-{
- struct fimc_lite *fimc = v4l2_get_subdevdata(sd);
- if (fimc->out_path == FIMC_IO_DMA)
- return -ENOIOCTLCMD;
- /* TODO: */
- return 0;
}
static int fimc_lite_log_status(struct v4l2_subdev *sd)
@@ -1308,7 +1300,6 @@ static const struct v4l2_subdev_video_ops fimc_lite_subdev_video_ops = {
};
static const struct v4l2_subdev_core_ops fimc_lite_core_ops = {
- .s_power = fimc_lite_subdev_s_power,
.log_status = fimc_lite_log_status,
};