Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8c0b0d07 authored by Vivek Veenam's avatar Vivek Veenam
Browse files

msm: Camera: Return proper value for msm_camera_qup_i2c_txdata().



msm_camera_qup_i2c_txdata() is not returning proper value.
Due to which session tear down is not happening properly
in case of i2c failure.

CRs-Fixed: 640328
Change-Id: I25cfa10302aeab020ba1710adeed5b860fb7cb3b
Signed-off-by: default avatarVivek Veenam <vveenam@codeaurora.org>
parent 93980fdb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -69,7 +69,7 @@ static int32_t msm_camera_qup_i2c_txdata(
	rc = i2c_transfer(dev_client->client->adapter, msg, 1);
	if (rc < 0)
		S_I2C_DBG("msm_camera_qup_i2c_txdata faild 0x%x\n", saddr);
	return 0;
	return rc;
}

int32_t msm_camera_qup_i2c_read(struct msm_camera_i2c_client *client,