Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 205667ef authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: camera: sync: Add to list when triggering callback"

parents f5c400e4 617061f7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -82,7 +82,7 @@ int cam_sync_register_callback(sync_callback cb_func,
		sync_cb->sync_obj = sync_obj;
		INIT_WORK(&sync_cb->cb_dispatch_work,
			cam_sync_util_cb_dispatch);

		list_add_tail(&sync_cb->list, &row->callback_list);
		sync_cb->status = row->state;
		queue_work(sync_dev->work_queue,
			&sync_cb->cb_dispatch_work);