Эх сурвалжийг харах

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 <[email protected]>
Jigarkumar Zala 6 жил өмнө
parent
commit
ce61a07996

+ 1 - 1
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;