mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
Merge "Asoc: check for invalid voice session id"
This commit is contained in:
commit
58f399da80
1 changed files with 5 additions and 0 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue