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

Commit 7fe2675b 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: return EBUSY when hw is overloaded"

parents d8260d9a 490731f2
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -1836,10 +1836,8 @@ static int msm_vidc_load_resources(int flipped_state,
			num_mbs_per_sec, core->resources.max_load);
		msm_vidc_print_running_insts(core);
		inst->state = MSM_VIDC_CORE_INVALID;
		msm_vidc_queue_v4l2_event(inst,
					V4L2_EVENT_MSM_VIDC_HW_OVERLOAD);
		msm_comm_kill_session(inst);
		return -ENOMEM;
		return -EBUSY;
	}

	hdev = core->device;