msm: camera: sensor: Update the flash init structure
Currently there is mismatch of the cmd type byte position for the flash init structure, which casue the cmd type parsing failure for early PCR. This change move to cmd type to sixth byte to support the unificaiton with other flash uapi structures. Also, update respective header change with respect to uapi change. CRs-Fixed: 2432102 Change-Id: Ic4899b483b35013c5ad77a8894eb3bb4831de811 Signed-off-by: Jigarkumar Zala <jzala@codeaurora.org>
This commit is contained in:
@@ -401,9 +401,10 @@ struct cam_sensor_streamon_dev {
|
||||
* @cmd_type : command buffer type
|
||||
*/
|
||||
struct cam_flash_init {
|
||||
uint8_t flash_type;
|
||||
uint16_t reserved;
|
||||
uint32_t flash_type;
|
||||
uint8_t reserved;
|
||||
uint8_t cmd_type;
|
||||
uint16_t reserved1;
|
||||
} __attribute__((packed));
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user