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

Commit 45affb9b authored by Sureshnaidu Laveti's avatar Sureshnaidu Laveti
Browse files

msm: camera: sensor: Fix wait command opcode mismatch



Corrected conditional wait opcode offset to parse and
update delay for poll operation.

Change-Id: I26a647cb8e0e7c4374d39bf10bfaabf528c038bd
Signed-off-by: default avatarSureshnaidu Laveti <lsuresh@codeaurora.org>
parent be4e22c9
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
/* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */
/*
 * Copyright (c) 2016-2018, The Linux Foundation. All rights reserved.
 * Copyright (c) 2016-2019, The Linux Foundation. All rights reserved.
 */

#ifndef __UAPI_CAM_SENSOR_H__
@@ -300,10 +300,10 @@ struct cam_cmd_i2c_continuous_rd {
struct cam_cmd_conditional_wait {
	uint8_t     data_type;
	uint8_t     addr_type;
	uint16_t    reserved;
	uint8_t     op_code;
	uint8_t     cmd_type;
	uint16_t    timeout;
	uint16_t    reserved;
	uint32_t    reg_addr;
	uint32_t    reg_data;
	uint32_t    data_mask;