mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 21:22:09 -04:00
Merge "dsp: Fix for PSPD configuration error for dynamic speaker"
This commit is contained in:
commit
6eab62a0cc
1 changed files with 0 additions and 10 deletions
10
dsp/q6adm.c
10
dsp/q6adm.c
|
|
@ -550,16 +550,6 @@ int adm_programable_channel_mixer(int port_id, int copp_idx, int session_id,
|
|||
return -EINVAL;
|
||||
}
|
||||
|
||||
/*
|
||||
* check if PSPD is already configured
|
||||
* if it is configured already, return 0 without applying PSPD.
|
||||
*/
|
||||
if (atomic_read(&this_adm.copp.cnt[port_idx][copp_idx]) > 1) {
|
||||
pr_debug("%s: copp.cnt:%#x\n", __func__,
|
||||
atomic_read(&this_adm.copp.cnt[port_idx][copp_idx]));
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* First 8 bytes are 4 bytes as rule number, 2 bytes as output
|
||||
* channel and 2 bytes as input channel.
|
||||
|
|
|
|||
Loading…
Reference in a new issue