Merge "Asoc: check for invalid voice session id"

This commit is contained in:
qctecmdr 2021-06-19 10:29:31 -07:00 • committed by Gerrit - the friendly Code Review server
commit 58f399da80

View file

@ -2876,6 +2876,11 @@ static void msm_pcm_routing_process_voice(u16 reg, u16 val, int set)
session_id = msm_pcm_routing_get_voc_sessionid(val);
if (!session_id) {
pr_err("%s: Invalid session_id %x\n", __func__, session_id);
return;
}
pr_debug("%s: FE DAI 0x%x session_id 0x%x\n",
__func__, val, session_id);