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

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

Merge "msm: vidc: Add correct enum session_type instead of core_id"

parents e682daaa be9dc48d
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -498,7 +498,7 @@ void *msm_vidc_open(int core_id, int session_type)
	inst->debugfs_root =
	inst->debugfs_root =
		msm_vidc_debugfs_init_inst(inst, core->debugfs_root);
		msm_vidc_debugfs_init_inst(inst, core->debugfs_root);


	setup_event_queue(inst, &core->vdev[core_id].vdev);
	setup_event_queue(inst, &core->vdev[session_type].vdev);


	mutex_lock(&core->sync_lock);
	mutex_lock(&core->sync_lock);
	list_add_tail(&inst->list, &core->instances);
	list_add_tail(&inst->list, &core->instances);