mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 21:22:09 -04:00
Merge "dsp: fix KW errors in adm_close"
This commit is contained in:
commit
b8a843ab95
1 changed files with 2 additions and 2 deletions
|
|
@ -4049,7 +4049,7 @@ int adm_close(int port_id, int perf_mode, int copp_idx)
|
|||
pr_debug("%s: cma_alloc %d\n",
|
||||
__func__, cal_block->cma_mem);
|
||||
}
|
||||
if (app_type == 0) {
|
||||
if (result && app_type == 0) {
|
||||
audproc_cal_info = cal_block->cal_info;
|
||||
app_type = audproc_cal_info->app_type;
|
||||
}
|
||||
|
|
@ -4139,7 +4139,7 @@ int adm_close(int port_id, int perf_mode, int copp_idx)
|
|||
pr_debug("%s: cma_alloc %d\n",
|
||||
__func__, cal_block->cma_mem);
|
||||
}
|
||||
if (app_type == 0) {
|
||||
if (result && app_type == 0) {
|
||||
audproc_cal_info = cal_block->cal_info;
|
||||
app_type = audproc_cal_info->app_type;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue