* Modify tdm_tx config to enable 6 channels for
QUIN TX config, mirroring SEC TX config, to
enable echo reference during SVA.
Change-Id: If7c30758a32d774508f927e81923d9d2c12fc59f
Signed-off-by: Susan Wang <yingshuw@codeaurora.org>
Some mixer controls for TDM are uncessary and remove them
to cleanup the code.
Change-Id: I38ce9077868e030135346102fcc0f093f7bef058
Signed-off-by: Meng Wang <mengw@codeaurora.org>
During PDR, in dynamic load module if attempted
before all module state ready on AVS it may fail.
Add AVS state check before send load module cmd.
Change-Id: I70a5a5b11f5661042d704222759608179ba9d47c
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
Update the soundwire master port configuration
for 4.8MHz use cases in Tx path for holi.
Change-Id: If183c9eeba1d9e64eff978021dc234b183e83f3b
Signed-off-by: Vangala, Amarnath <avangala@codeaurora.org>
Add change to fix the array index out of bounds error.
Change-Id: I6a40a6dce32c90da407a51ee9ed95d649bb7d9d8
Signed-off-by: Saurav Kumar <sauravk@codeaurora.org>
* Add support to allocate memory from the ION audio heap
once smmu enabled.
Change-Id: Ic1686c7a3225b723811cbbd35f08d0ac123d1f78
Signed-off-by: Viraja Kommaraju <virajak@codeaurora.org>
When sound wire master suspend is called, it holds the mutex lock
and does lpi_gpio_write, which gets preempted during pr_err_ratelimited.
Any other calls to master suspend will be blocked waiting for the above
mutex lock resulting in timeouts.
Remove pr_err_ratelimited log when device is down.
Change-Id: I148263ddbb89d436b0ce27bdc4519f196d90679a
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
To handle erroneous scenario when an afe port's island mode is
mismatched with its audio use case's island mode, add support for
all audio use cases to deregister previously created afe topology
if an audio use case's afe port failed to start but its topology
has already been set in ADSP previously.
Change-Id: I0176eb09d313150541c6946b1b3001604e7c04c7
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
Update the bit 0x08 of WCD938X_DIGITAL_CDC_ANA_CLK_CTL
to 0 during DAPM post PMD.
Change-Id: Iea7d3878e9c56f8e219240007b8dbe30683d3161
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
Add audio core vote state variable for mi2s interfaces.
Enable it during interface startup and disable it during
mi2s_disable_audio_vote, auxpcm init/deinit.
Change-Id: I798e15f489b1cb1816e424e1b543016d757016e4
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
update runtime total bytes transferred and received
in compress driver.
Change-Id: I1bd129e18681fcf10a27efaa061594081114c1fb
Signed-off-by: Akhil Karuturi <akarutur@codeaurora.org>
Add array bounds check for index before accessing
tx_master_port_map.
Change-Id: I52a8dbdaf40974a45e86b3dca4caa27d88a7b864
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>