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

Commit 08e1a2bc 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: Delete list entry after work has finished" into msm-4.9

parents 01f41f96 84d6a8cc
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -246,7 +246,6 @@ int cam_sync_signal(int32_t sync_obj, uint32_t status)
			sync_cb->status = list_info->status;
			queue_work(sync_dev->work_queue,
				&sync_cb->cb_dispatch_work);
			list_del_init(&sync_cb->list);
		}

		/* Dispatch user payloads if any were registered earlier */
+1 −0
Original line number Diff line number Diff line
@@ -223,6 +223,7 @@ void cam_sync_util_cb_dispatch(struct work_struct *cb_dispatch_work)
		cb_info->status,
		cb_info->cb_data);

	list_del_init(&cb_info->list);
	kfree(cb_info);
}