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

Commit f388a43a 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: Handle max clients error properly"

parents ca44aa3f 78edf2e8
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -1178,6 +1178,14 @@ static void handle_session_error(enum hal_command_response cmd, void *data)
			inst);
		msm_vidc_queue_v4l2_event(inst,
			V4L2_EVENT_MSM_VIDC_MAX_CLIENTS);

		/* Clean the HFI session now. Since inst->state is moved to
		 * INVLAID, forward thread doesn't know FW has valid session
		 * or not. This is the last place driver knows that there is
		 * no session in FW. Hence clean HFI session now.
		 */

		msm_comm_session_clean(inst);
	} else {
		dprintk(VIDC_ERR,
			"send session error to client: %p\n",