diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2012-06-21 14:49:06 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2012-06-21 15:03:45 +0200 |
commit | f89a72c02b2dda2dada85d38e94217d999b5cde8 (patch) | |
tree | 13ac43848e81a3b948229095ad785a200ff0b86b /isp/controls.c | |
parent | b336af7ccc70d05e695b4eee55a8e03645d21348 (diff) |
sensor: Fix omap3_isp_sensor_get_exposure()
The function tried to set the control instead of getting it. Fix this.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'isp/controls.c')
-rw-r--r-- | isp/controls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/isp/controls.c b/isp/controls.c index b189f7b..cce4265 100644 --- a/isp/controls.c +++ b/isp/controls.c @@ -351,7 +351,7 @@ int omap3_isp_sensor_get_exposure(struct omap3_isp_device *isp, ctrls[0].id = V4L2_CID_EXPOSURE; - ret = v4l2_subdev_set_controls(isp->sensor.entity, ARRAY_SIZE(ctrls), ctrls); + ret = v4l2_subdev_get_controls(isp->sensor.entity, ARRAY_SIZE(ctrls), ctrls); if (ret < 0) return ret; |