msm_cci: fix inconsistent mutex_lock

drivers/media/platform/msm/camera_v2/sensor/cci/msm_cci.c:939
msm_cci_i2c_read() warn: inconsistent returns
'mutex:&cci_dev->cci_master_info[master].mutex_q[queue]'

Change-Id: Ied241d3ff2fd00d4ce892e250a6236fccf16fac9
Signed-off-by: David Lin <dtwlin@google.com>
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
This commit is contained in:
David Lin 2017-06-01 21:25:38 -07:00 committed by Daniel Hillenbrand
parent 3d23626712
commit 1a1a9957df

View file

@ -848,7 +848,7 @@ static int32_t msm_cci_i2c_read(struct v4l2_subdev *sd,
if (rc < 0) {
pr_err("%s:%d msm_cci_set_clk_param failed rc = %d\n",
__func__, __LINE__, rc);
return rc;
goto ERROR;
}
/*