diff options
| author | Sureshnaidu Laveti <lsuresh@codeaurora.org> | 2016-11-23 07:08:56 -0800 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-11-23 07:15:54 -0800 |
| commit | b16b650f964c3faeb2d51dbc439d8a2b3fc0fbfe (patch) | |
| tree | 308db6c2086014d8e8ecdfa7a4eb09559b36a219 | |
| parent | 9febdfdde008c8d7875b5186a4a37cb515cb924d (diff) | |
msm: sensor: correcting return value for get actuator info
Correcting the return value for getting the actuator information
IOCTL.
CRs-Fixed: 1084177
Change-Id: I2bbe7be3daedef45a5990c23168df5185e72e82f
Signed-off-by: Sureshnaidu Laveti <lsuresh@codeaurora.org>
| -rw-r--r-- | drivers/media/platform/msm/camera_v2/sensor/actuator/msm_actuator.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/platform/msm/camera_v2/sensor/actuator/msm_actuator.c b/drivers/media/platform/msm/camera_v2/sensor/actuator/msm_actuator.c index a700f836061c..b3623d9258f7 100644 --- a/drivers/media/platform/msm/camera_v2/sensor/actuator/msm_actuator.c +++ b/drivers/media/platform/msm/camera_v2/sensor/actuator/msm_actuator.c @@ -1418,6 +1418,7 @@ static int32_t msm_actuator_config(struct msm_actuator_ctrl_t *a_ctrl, case CFG_GET_ACTUATOR_INFO: cdata->is_af_supported = 1; cdata->cfg.cam_name = a_ctrl->cam_name; + rc = 0; break; case CFG_SET_ACTUATOR_INFO: |
