Loading drivers/media/platform/msm/camera/cam_sync/cam_sync.c +4 −3 Original line number Diff line number Diff line /* Copyright (c) 2017, The Linux Foundation. All rights reserved. /* Copyright (c) 2017-2018, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -90,8 +90,9 @@ int cam_sync_register_callback(sync_callback cb_func, } /* Trigger callback if sync object is already in SIGNALED state */ if (row->state == CAM_SYNC_STATE_SIGNALED_SUCCESS || row->state == CAM_SYNC_STATE_SIGNALED_ERROR) { if ((row->state == CAM_SYNC_STATE_SIGNALED_SUCCESS || row->state == CAM_SYNC_STATE_SIGNALED_ERROR) && (!row->remaining)) { sync_cb->callback_func = cb_func; sync_cb->cb_data = userdata; sync_cb->sync_obj = sync_obj; Loading Loading
drivers/media/platform/msm/camera/cam_sync/cam_sync.c +4 −3 Original line number Diff line number Diff line /* Copyright (c) 2017, The Linux Foundation. All rights reserved. /* Copyright (c) 2017-2018, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -90,8 +90,9 @@ int cam_sync_register_callback(sync_callback cb_func, } /* Trigger callback if sync object is already in SIGNALED state */ if (row->state == CAM_SYNC_STATE_SIGNALED_SUCCESS || row->state == CAM_SYNC_STATE_SIGNALED_ERROR) { if ((row->state == CAM_SYNC_STATE_SIGNALED_SUCCESS || row->state == CAM_SYNC_STATE_SIGNALED_ERROR) && (!row->remaining)) { sync_cb->callback_func = cb_func; sync_cb->cb_data = userdata; sync_cb->sync_obj = sync_obj; Loading