mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
Merge "dsp: avoid start voice happens before unmap cal memory"
This commit is contained in:
commit
9735cce457
1 changed files with 1 additions and 9 deletions
|
|
@ -1,6 +1,6 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/*
|
||||
* Copyright (c) 2012-2020, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2012-2021, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
#include <linux/slab.h>
|
||||
#include <linux/kthread.h>
|
||||
|
|
@ -3958,14 +3958,6 @@ static int voice_unmap_cal_memory(int32_t cal_type,
|
|||
else
|
||||
pr_err("%s: Invalid cal type %d!\n",
|
||||
__func__, cal_type);
|
||||
|
||||
result2 = voice_send_start_voice_cmd(v);
|
||||
if (result2) {
|
||||
pr_err("%s: Voice_send_start_voice_cmd failed for session 0x%x, err %d!\n",
|
||||
__func__, v->session_id, result2);
|
||||
|
||||
result = result2;
|
||||
}
|
||||
}
|
||||
|
||||
if ((cal_block->map_data.q6map_handle != 0) &&
|
||||
|
|
|
|||
Loading…
Reference in a new issue