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

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

Merge "dsp: add null check for temp handle"

parents a54f5e37 d1942a26
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -7503,8 +7503,8 @@ static int q6asm_memory_map_regions(struct audio_client *ac, int dir,
	}

	rc = wait_event_timeout(ac->mem_wait,
			(atomic_read(&ac->mem_state) >= 0)
			 , 5*HZ);
			(atomic_read(&ac->mem_state) >= 0 &&
			 ac->port[dir].tmp_hdl), 5*HZ);
	if (!rc) {
		pr_err("%s: timeout. waited for memory_map\n", __func__);
		rc = -ETIMEDOUT;