When initializing RX_DMA_1, it would fail to find wsa-codec.1 and
fe_clients is not initialzed. When soc-pcm.c tries to access fe_clients,
kernel panic happens. Update sequence to initialize bolero dai-links.
Change-Id: I4791b08a913fafc5723cc676ff59b119a4cf2c80
Signed-off-by: Meng Wang <mengw@codeaurora.org>
For get version info of bolero, update
bolero 2.0 entry.
Change-Id: I8f21b67eb6532c9b1c1ef6ab15015a29a4737db3
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
Set params for a module should be done after sending
the topology information in which the module resides in.
Send cps configuration after sending afe topology.
Send cps configuration only for speaker protected usecases.
Change-Id: I89c7df9f0d70862813aa7a2bd1ea1afc2ddcc882
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
During PDR/SSR, hyp assign is not called when stop
call in below cases:
1. cvs and mvm handle are not null
2. disable voice path failure during device switch
Fix it by ensuring unmap memory is called during
PDR/SSR.
Change-Id: I37b66a6f6dc29934dde0b0814ab44b784ebe2aea
Signed-off-by: Kunlei Zhang <kunleiz@codeaurora.org>
Disable MI2S, TDM and AUXPCM interfaces as they are
unused for holi target. This will reduce the number of mixer
controls registered with asoc and improve the performance.
Change-Id: Icec543124401fc483b02b30c29ebbd293d766bc1
Transaction slot is not freed when failure happens. Accumulated
error may lead to breach of transaction slot limit. Free the
transaction slot at failure.
Change-Id: I8588be18a820306d2a596fe2bf4a97346076b9b9
Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
Configure low PA Gain for low state of charge based on dt node.
Change-Id: I7f36cf4b17d9794a2763edc3c2fd5cec53a3521f
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
Enable component after enabling interrupt to avoid missing
some intterupt during master init.
Change-Id: I0f60c5431a815c58f878d3b9275a046e47939111
Signed-off-by: Meng Wang <mengw@codeaurora.org>
When SSR happens, APR state can update to DOWN
immediately which ensures avoid continuous retry
for PCM open from userspace as audio clients check
APR state at pcm_open and return ENETRESET if
APR is down.
Change-Id: I60a6d217786b3d610b70adbd12d0e5f2a7c12205
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
Update sample offset's of sound wire digital mics when running
at 4.8 MHZ. This affects single and dual mic usecases.
Change-Id: Id33635debd0444fa93d183dacd8d6419b23394fd
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
As ADC and MIXER dapm widgets powerup sequence in soc-dapm
got re-ordered, need update same in codec driver to handle
calls to soundwire.
Change-Id: Ibc99d21e29f9e9d7195b4ba8d4c995c46d6aef6f
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
Call impedance detection routine as part of callback to get impedance
before printing value of impedance.
Change-Id: I8b7174e4f7fd9c7715a2c12a0628c8f7849a93e6
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
Headset is not detected sometimes due to master.num_dev not being
updated when we call GET_ENUM_SLAVE_STATUS as get_logical address
may not have been called. Also enable slave irq only when
swr wokeup from clk stop and not when master is already up.
This will prevent valid irq to be discarded as spurious irq.
Change-Id: I00284e9340668c853d0bd604fe66801118982780
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
When same swr dmic is first enabled as HIFI, secondly as LP
and closed HIFI, it would disable LP port by mistake. Update
the logic to select correct port for swr-dmic.
Change-Id: I5d4d1461d8cd7db7bc7f37fc91ee1c9324413980
Signed-off-by: Meng Wang <mengw@codeaurora.org>
The promoting is necessary to prevent audio tick noise under
heavy cpu loading.
Change-Id: I3fccb3b758b5fb5571031902344e542886b89209
Signed-off-by: Han Lu <hanlu@codeaurora.org>
Remove send/check ACK in HAB communication, it consumes HAB bandwidth
without necessity. Remove it to improve audio performance.
Change-Id: Idee1d0276f40d463186e3caea6c4b28ef16ab67c
Signed-off-by: Han Lu <hanlu@codeaurora.org>
Add support for wcd937x mbhc detetion at probe.
Change-Id: Ibcd04d2670ff1d9c8535d098e11f58448cf3c15e
Signed-off-by: Vangala, Amarnath <avangala@codeaurora.org>
Update tdm sample rate text and sample rate value/index mapping
functions to support 44.1Khz and 96 Khz rates
Change-Id: I72106dd342c7da84ad9c21674cacbfca680a7ba8
Signed-off-by: Alexy Joseph <alexyj@codeaurora.org>