0xFFFFFFFF will be parsed as -1.
But as the fourth parameter of SOC_SINGLE_MULTI_EXT(), it denotes 'xmax'
and should be larger than the sixth parameter.
0x7FFFFFFF works fine in this function.
Change-Id: Ie20437f5e1993dac337f52026343383a98db7f5e
Signed-off-by: Guodong Hu <guodhu@codeaurora.org>
Add new interfaces stub functions for Dolby security change,
since ion_vm share the same header file with ion.
Change-Id: Iaac5931a9c97eafe1a8cc5980ac70b9a62288faa
Signed-off-by: King Tam <kingt@codeaurora.org>
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 <dieterl@codeaurora.org>
Increase size of proc_name to prevent buffer overflow in snprintf
function.
Change-Id: I183d2762d2d60c4b40969b1ddce9b4d5588e7051
Signed-off-by: Faiz Nabi Kuchay <fkuchay@codeaurora.org>
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 <kmani@codeaurora.org>
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 <chaithan@codeaurora.org>
Send command for soft volume config during pcm prepare of mmap
no irq stream
Change-Id: Iacd4c95633d53ccfe78e8abb11baeedd8b854f26
Signed-off-by: Arun Mirpuri <amirpuri@codeaurora.org>
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 <abavanar@codeaurora.org>
Add support for moisture detection with duty cycle on WCD938x codec.
Change-Id: I1e5ceb39f031ea7f7efdd38706845b71b093a479
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
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 <vbucha@codeaurora.org>
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 <vbucha@codeaurora.org>
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 <chaithan@codeaurora.org>
Add new dailink for compress capture to support additional
record usecase.
Change-Id: I7244d2e749c398140205d82d88958ce97d4c8764
Signed-off-by: Chaithanya Krishna Bacharaju <chaithan@codeaurora.org>
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 <vbucha@codeaurora.org>
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 <lkasam@codeaurora.org>
Add interface for userspace to control FFECNS effect.
Change-Id: I78010899e6c193726a79d74e86f13a1546106eff
Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
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 <dieterl@codeaurora.org>
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 <dieterl@codeaurora.org>
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 <abavanar@codeaurora.org>
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 <vbucha@codeaurora.org>