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

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

Merge "Asoc: check for invalid voice session id"

parents f97547ab 8424d77c
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -2126,6 +2126,11 @@ static void msm_pcm_routing_process_voice(u16 reg, u16 val, int set)
	pr_debug("%s: FE DAI 0x%x session_id 0x%x\n",
		__func__, val, session_id);
	if (!session_id) {
		pr_err("%s: Invalid session_id %x\n", __func__, session_id);
		return;
	}
	mutex_lock(&routing_lock);
	if (set)