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

Commit 3c77f016 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: cvp: Avoids sending random error code to DSP"

parents e737a9a8 0e46e340
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -566,8 +566,10 @@ static int cvp_dsp_thread(void *data)
		switch (me->pending_dsp2cpu_cmd.type) {
		case DSP2CPU_POWERON:
		{
			if (me->state == DSP_READY)
			if (me->state == DSP_READY) {
				cmd.ret = 0;
				break;
			}

			mutex_unlock(&me->lock);
			old_state = me->state;