Add PMQoS request during MMAP session pcm_prepare to affine to
cores 1 and 2 and also set PMQoS latency to 300 us to avoid LPM
to go to deep sleep state on these 2 cores
Signed-off-by: Arun Mirpuri <[email protected]>
Change-Id: Ie92ef6e4038b2ac0ba2edaf5acabaf28090b2c67
If surge protection is enabled, it interferes with HPHL
and does not give proper impedance for high impedance cable.
Disable surge protection before impedance detection and
enable it again after impedance detection on wcd937x and wcd938x.
Change-Id: I13840b0ba9fd9ce16b90f42dcd1a25ffb928b504
Signed-off-by: Vatsal Bucha <[email protected]>
CSRA66x0 codec enables internal volume ramping on
power up. This leads to missing audio at beginning
of playback. Disable feature on codec init.
Change-Id: Ib3085cd06eeb2797bee4e74d8e34e5d0b0fa535f
Signed-off-by: Dieter Luecking <[email protected]>
Increase size of proc_name to prevent buffer overflow in snprintf
function.
Change-Id: I183d2762d2d60c4b40969b1ddce9b4d5588e7051
Signed-off-by: Faiz Nabi Kuchay <[email protected]>
During SSR and lpi gpio read/write use cases, core_hw_vote
status flag might be checked and modified in parallel.
Protect the core_hw_vote status with mutex lock to avoid
any race conditions.
Change-Id: I313908dfa72430cc49d7d11e6ce8c1bb7af0a1c3
Signed-off-by: Aditya Bavanari <[email protected]>
Unvote lpass audio and hw votes from bolero suspend
only if the voting was done from the corresponding
resume function.
Change-Id: I299b8e5639efe2883980abc5d0904733fbdc5a77
Signed-off-by: Karthikeyan Mani <[email protected]>
Add new compress capture FE dai to support additional
capture usecase. Extend PSPD controls for new FE id.
Change-Id: Iae0473d6b71eed0658bba8f70ffc469b66782053
Signed-off-by: Chaithanya Krishna Bacharaju <[email protected]>
Add support to use compress path for mic and ec reference data
capture in single stream. Extend PSPD controls for compress
frontend ids. Update compress driver to use latest ADSP APIs
if available.
Change-Id: Icbf9def07cb0a01542fb3b5cd77e74ab53aec683
Signed-off-by: Chaithanya Krishna Bacharaju <[email protected]>
Add support to enable LDOH in headphone path when equalizer
hardware installed on the device.
Change-Id: Ia575544650e5d03404fc77e3c2a9db729a2997a5
Signed-off-by: Sudheer Papothi <[email protected]>
CVD version update is needed to support a new modem
feature. Add support for CVD version 2.4 in internal version
mapping table.
Change-Id: I26627e3c88b424acca8f85696dd58d7ce2e944d9
Signed-off-by: Aditya Bavanari <[email protected]>
Add support for moisture detection with duty cycle on WCD938x codec.
Change-Id: I1e5ceb39f031ea7f7efdd38706845b71b093a479
Signed-off-by: Sudheer Papothi <[email protected]>
OCP is resulting in mute issues during audio playback.
Traverso has surge protection enabled in hw. Thus
OCP can be disabled for traverso.
Change-Id: I5af745e9c1fb41640317a406adff59bcde81c37e
Signed-off-by: Vatsal Bucha <[email protected]>
OCP is resulting in mute issues during audio playback.
Talos has surge protection enabled in hw. Thus
OCP can be disabled for talos.
Change-Id: I5a7fe54ae9e77af65dd9e017b4001f2fac3cfdd4
Signed-off-by: Vatsal Bucha <[email protected]>
Reset ec ref port id to invalid port after use to ensure
it is not picked for other adm sessions.
Change-Id: I802326122ad6dc63c7f2df16169da3f50559202f
Signed-off-by: Chaithanya Krishna Bacharaju <[email protected]>
Add new dailink for compress capture to support additional
record usecase.
Change-Id: I7244d2e749c398140205d82d88958ce97d4c8764
Signed-off-by: Chaithanya Krishna Bacharaju <[email protected]>
During headset playback if we trigger SSR, headset removal
is not detected. This is because after recovery mbhc
driver expects a new detection event as the driver is reinitialized.
Reset detection type to insertion to retrigger a hw interrupt
for mbhc driver.
Change-Id: Ibf6663f46e7485f5ff5c5968a71c88e59a4728e7
Signed-off-by: Vatsal Bucha <[email protected]>
After PDR, audio avs services still are initializing state.
Avoid sending q6core command after PD up event immediately,
wait for sometime before sending the q6core ready command.
Change-Id: Ibee38db9ee1a30b7852da3d08cac7b0d06371733
Signed-off-by: Laxminath Kasam <[email protected]>
Add interface for userspace to control FFECNS effect.
Change-Id: I78010899e6c193726a79d74e86f13a1546106eff
Signed-off-by: Xiaojun Sang <[email protected]>
Remove the dependency on dedicated config flag for the
use of new API versions in ASM and ADM open commands.
Dependency is now on ADSP service version only.
Change-Id: I884e04fb6a3c8808e7874aa04967db0c3ca083c1
Signed-off-by: Dieter Luecking <[email protected]>
Remove the dependency on dedicated config flag for the
use of new API versions in ASM and ADM open commands.
Dependency is now on ADSP service version only.
Change-Id: I2e7bcec675bafb9ad9e2a10df4ccc1e52bb72c92
Signed-off-by: Dieter Luecking <[email protected]>
Add variant entry support for wcd937x and wcd938x codecs to
differentiate between wcd9370/80 and wcd9375/85 variants.
Change-Id: Ife20d14462a0b0968e0458471af3823872592e10
Signed-off-by: Aditya Bavanari <[email protected]>
Mic bias value is needed in case of special headset
detection logic and the same needs to be read and stored
from device tree to be used by mbhc driver.
Change-Id: I0b120b8bb130a4d101c97e118395a11e74c921af
Signed-off-by: Vatsal Bucha <[email protected]>
Add support to use micbias pull up mode for SVA DMIC use
cases to lower power consumption.
Change-Id: I5d87b604bb3e588ffec0ae321a55d340c89274fc
Signed-off-by: Xiaoyu Ye <[email protected]>
Add support to query presentation position from DSP
in system time domain.
Change-Id: I42b4d234ddc256f93c01defbe2c74872a2a2cf3e
Signed-off-by: Surendar Karka <[email protected]>