Add CONFIG_AUDIO_QGKI check for variables and functions
in audio drivers, so they are used only during a QGKI build.
Change-Id: Ia04232566367f196f298a49cf3962bb7927bec6a
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
Update drivers to use upstream definition of snd_codec
as compr_passthr and flags variables are no longer supported
on kernel 5.4.
Change-Id: I5b0fc43af9cdae0a40e9e4f086fcecdb4be85f76
Signed-off-by: Meng Wang <mengw@codeaurora.org>
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
Remove defunct implementation of front end qos
prepare function.
Add todo debug log to add the new QOS prepare
implementation.
Change-Id: I95893d0309d465100d7abbab5e1acf6269fd1cde
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
Add initial changes for supporting swr dmic
where each codec can support single mic recording
over soundwire port.
Change-Id: I0319bfb5c850d48b563f46d5dd77f21d4a83f029
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
Use "wcd_mbhc_usbc_ana_event_handler" function only when
CONFIG_QCOM_FSA4480_I2C is enabled.
Change-Id: I5211a8ce09fb06021310e528b5815fdbcd3f2dab
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
Add support for VBAT monitor on WSA883x speaker amplifier
for signal profiling.
Change-Id: I1544b601ac9ee4e8ed6da3839cc46914bbae5d93
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
wcd dsp manager is not needed for bolero and wcd938x. Compile it
when CONFIG_WCD9XXX_CODEC_CORE is enabled
Change-Id: Ia341e6893520769eb1f973a5df74ad9bb2b57063
Signed-off-by: Meng Wang <mengw@codeaurora.org>
cpu_dai_name, platform_name, codec_name, codec_dai_name are
removed in kernel-5.4 version of ASoC. Update dai-link definition
to reflect the same.
Change-Id: Ife0072a65e6e554bad20cea9844f30245108fd95
Signed-off-by: Meng Wang <mengw@codeaurora.org>
Add codec DAI to support PCM interface to soundwire master on
RX macro in bolero codec driver.
Change-Id: Iaf5a9d9cf78ec9dc29b60ebd7736504ec6470e57
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Update snd info API and userspace and get codec info.
Change-Id: Ic9cfc89365cf6263a9b1c02403d68e7740bebbeb
Signed-off-by: Meng Wang <mengw@codeaurora.org>
From 5.4 kernel, cpu_dai_name is replaced by a
pointer to snd_soc_dai_link_component which holds the
dai name, update such references.
Change-Id: I5ddda0232b75cee7c0f2dc937102e1342a50276a
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
Update kernel version references from 4.19 to 5.4.
Update symbolic links to new kernel version files.
Change-Id: I38baa52218b16e0b0c86ad898912d29ec4d3d516
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
Synchronize the bolero fs gen sequence updates
in order to avoid race conditions.
Change-Id: Idb95dcf1d5f5f4d24ab507ccd221d399a6b5a021
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
Voice Activation is not working from second time on SWR
MICs. Make tx macro registers related to SWR MIC as
volatile to resolve the issue.
Change-Id: Iac52af37d32b53ada193d855949b345da0e47d9c
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
Clock disable at aux dac event is not needed
as rx3 widget already disables it.
Change-Id: I67feec194cdae5c6d84efcde0a2931ba8f8440dd
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>