msm: camera: flash: Get the flash on wait time from userspace
This change gets the flash on wait time from userspace to control the precise flash. CRs-Fixed: 2929276 Change-Id: Ieac18f6e049b446c5a7b20dcfdff013aa9838575 Signed-off-by: Depeng Shao <depengs@codeaurora.org>
This commit is contained in:
@@ -547,7 +547,8 @@ struct cam_flash_set_rer {
|
||||
* CAM_FLASH_OFF
|
||||
* @cmd_type : Command buffer operation type
|
||||
* @led_current_ma : Flash led current in ma
|
||||
* @time_on_duration_ms : Flash time on duration in ns
|
||||
* @time_on_duration_ns : Flash time on duration in ns
|
||||
* @led_on_wait_time_ns : Flash led turn on wait time in ns
|
||||
*
|
||||
*/
|
||||
struct cam_flash_set_on_off {
|
||||
@@ -557,6 +558,7 @@ struct cam_flash_set_on_off {
|
||||
__u16 reserved;
|
||||
__u32 led_current_ma[CAM_FLASH_MAX_LED_TRIGGERS];
|
||||
__u64 time_on_duration_ns;
|
||||
__u64 led_on_wait_time_ns;
|
||||
} __attribute__((packed));
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user