Loading drivers/media/platform/msm/camera/cam_sync/cam_sync_util.c +16 −0 Original line number Original line Diff line number Diff line Loading @@ -176,6 +176,12 @@ int cam_sync_deinit_object(struct sync_table_row *table, uint32_t idx) idx); idx); return -EINVAL; return -EINVAL; } } if (row->state == CAM_SYNC_STATE_ACTIVE) CAM_WARN(CAM_SYNC, "Destroying an active sync object name:%s id:%i", row->name, row->sync_id); row->state = CAM_SYNC_STATE_INVALID; row->state = CAM_SYNC_STATE_INVALID; /* Object's child and parent objects will be added into this list */ /* Object's child and parent objects will be added into this list */ Loading Loading @@ -218,6 +224,11 @@ int cam_sync_deinit_object(struct sync_table_row *table, uint32_t idx) continue; continue; } } if (child_row->state == CAM_SYNC_STATE_ACTIVE) CAM_WARN(CAM_SYNC, "Warning: destroying active child sync obj = %d", child_info->sync_id); cam_sync_util_cleanup_parents_list(child_row, cam_sync_util_cleanup_parents_list(child_row, SYNC_LIST_CLEAN_ONE, idx); SYNC_LIST_CLEAN_ONE, idx); Loading @@ -242,6 +253,11 @@ int cam_sync_deinit_object(struct sync_table_row *table, uint32_t idx) continue; continue; } } if (parent_row->state == CAM_SYNC_STATE_ACTIVE) CAM_WARN(CAM_SYNC, "Warning: destroying active parent sync obj = %d", parent_info->sync_id); cam_sync_util_cleanup_children_list(parent_row, cam_sync_util_cleanup_children_list(parent_row, SYNC_LIST_CLEAN_ONE, idx); SYNC_LIST_CLEAN_ONE, idx); Loading Loading
drivers/media/platform/msm/camera/cam_sync/cam_sync_util.c +16 −0 Original line number Original line Diff line number Diff line Loading @@ -176,6 +176,12 @@ int cam_sync_deinit_object(struct sync_table_row *table, uint32_t idx) idx); idx); return -EINVAL; return -EINVAL; } } if (row->state == CAM_SYNC_STATE_ACTIVE) CAM_WARN(CAM_SYNC, "Destroying an active sync object name:%s id:%i", row->name, row->sync_id); row->state = CAM_SYNC_STATE_INVALID; row->state = CAM_SYNC_STATE_INVALID; /* Object's child and parent objects will be added into this list */ /* Object's child and parent objects will be added into this list */ Loading Loading @@ -218,6 +224,11 @@ int cam_sync_deinit_object(struct sync_table_row *table, uint32_t idx) continue; continue; } } if (child_row->state == CAM_SYNC_STATE_ACTIVE) CAM_WARN(CAM_SYNC, "Warning: destroying active child sync obj = %d", child_info->sync_id); cam_sync_util_cleanup_parents_list(child_row, cam_sync_util_cleanup_parents_list(child_row, SYNC_LIST_CLEAN_ONE, idx); SYNC_LIST_CLEAN_ONE, idx); Loading @@ -242,6 +253,11 @@ int cam_sync_deinit_object(struct sync_table_row *table, uint32_t idx) continue; continue; } } if (parent_row->state == CAM_SYNC_STATE_ACTIVE) CAM_WARN(CAM_SYNC, "Warning: destroying active parent sync obj = %d", parent_info->sync_id); cam_sync_util_cleanup_children_list(parent_row, cam_sync_util_cleanup_children_list(parent_row, SYNC_LIST_CLEAN_ONE, idx); SYNC_LIST_CLEAN_ONE, idx); Loading