From ce61a07996fa8083d957c3214b0bdaf5e8325452 Mon Sep 17 00:00:00 2001 From: Jigarkumar Zala Date: Mon, 29 Jul 2019 14:02:31 -0700 Subject: [PATCH] msm: camera: Update uapi structure for OIS Userspace is sending slave address as 32bit, and in order to parse the correct data kernel space needs to match this bit pattern. This change updates the structure to accommodate it. Change-Id: Ib136bbd1656dba9da75d3b07c494caeebf03dfcb Signed-off-by: Jigarkumar Zala --- include/uapi/media/cam_sensor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/uapi/media/cam_sensor.h b/include/uapi/media/cam_sensor.h index 57a5c4674ca2..5e1918a9a116 100644 --- a/include/uapi/media/cam_sensor.h +++ b/include/uapi/media/cam_sensor.h @@ -132,7 +132,7 @@ struct cam_ois_opcode { * @opcode : opcode */ struct cam_cmd_ois_info { - uint16_t slave_addr; + uint32_t slave_addr; uint8_t i2c_freq_mode; uint8_t cmd_type; uint8_t ois_fw_flag;