When msm acts as slave mode in mi2s, clock ID for a
clock index is not properly updated for first time.
Fix the sequence issue to update clock ID accordingly
for slave mode.
Change-Id: Ie601547e8a5677ee778ff707f55e2d861a35f459
Signed-off-by: Aditya Bavanari <quic_abavanar@quicinc.com>
After acquiring spinlock, if memory allocation fails, the spinlock is
not released, thus inducing a potential deadlock.
Change-Id: I8d390437a00b8a9ca2cb216f47434a0448506e1f
Signed-off-by: ftong <quic_ftong@quicinc.com>
adding new mixer control for set/get soft step volume module params
values. This command is attached to FE DAI.
Change-Id: I2572d6abe48dcb4d1fb685b5e9c0695fe83cc88a
Signed-off-by: Krishna Kishor Jha <quic_kkishorj@quicinc.com>
-Temperature sensor of WSA881x is not used in bengal
Hence disable compilation.
-Initialize temp_val before use for wsa881x-analog.
Change-Id: Ibfb2fdfabdba7acfad3f65911b89d007a0711f08
Signed-off-by: Dechen Chai <quic_dchai@quicinc.com>
ADM can be opened with different perf mode with ASM
Change-Id: I22c50ae57c1e1f9ee9a0b080a20bde5b4f50d06c
Signed-off-by: Hongtao Peng <quic_hongtaop@quicinc.com>
Add changes for VI sense WSA_CDC_DMA_TX_0 as backend
dailink to support recording of VI sense data.
Change-Id: I6f0911c9a2b5b20ce3b4f099f93ad3fed3cff886
Signed-off-by: Lakshman Chaluvaraju <lchalu@codeaurora.org>
Support for MultiMedia17 to be used with TERT_TDM_TX_0
Change-Id: Id98a1a206f8beac79bc00972e72a158064365d0a
Signed-off-by: E V Ravi <quic_evenka@quicinc.com>
Ensure lab buffer de-alloc even if listen session
is not in start state to avoid memory leak
when multiple listen clients are created.
Change-Id: Id6d8b37a3dcdf49618ae2a4d80903d429393cd8e
Signed-off-by: Soumya Managoli <quic_c_smanag@quicinc.com>
Increase the max num for QACT stream, should merge
together with 3931333
Change-Id: I4bdd9589be6821f7a44f8c89570b811b6fc03786
Signed-off-by: Hexuan Zhu <quic_hexuzhu@quicinc.com>
Uninitialized values may cause the get function
of logging kcontrol to exit abnormally with error on
auto LA platform.
Change-Id: Id1f91a5454daafe499211763e26572bfe5dcbd47
Signed-off-by: Deru Wang <quic_deruwang@quicinc.com>
When adsp SSR happens, VA_MCLK enabled by VA_SWR_PWR widget will
not be disabled as ADSP is down and it cannot enable TX_MCLk before
disabling VA_MCLK. After disabling SVA, VA_MCLk is left open.
Add dev_up flag to indicate SSR and close VA_MCLK during SSR.
Change-Id: I4cd08419be4035e2f337ab41348a814534480db6
Signed-off-by: Meng Wang <mengw@codeaurora.org>
Signed-off-by: Soumya Managoli <quic_c_smanag@quicinc.com>
During SSR TX_MCLK failure is observed when both SVA
and playback is active. Mute is observed post SSR
even though there is no clk enable failure.
Issue is seen due to va_swr gpio not being disabled
during SSR and hence not enabled properly once uc
resumes after SSR.
Change-Id: I674bbc80edaaa35b53855166156dba41a32ef45d
Signed-off-by: Soumya Managoli <quic_c_smanag@quicinc.com>
The schedule_work of adsp loader boot will block machine driver probing
need add new boot cmd without schedule_work to accelerate early audio.
Change-Id: I5d344c56ef19985fca9d047687f4ea96a879dc27
Signed-off-by: Deru Wang <deruwang@codeaurora.org>
Change in pin state from active to sleep induced abnormal bias
which produced pop noise in 6155/8155.
Propagated from f4883ad19bb49a1221f2d3844454dffb3e348f52.
Change-Id: I69eb7a6d17a0ae9e28f4cd78495c6f043b53209e
Signed-off-by: Shubhasini Sugumaran <quic_c_shubsu@quicinc.com>
-Fix the problem that the API snd_soc_rtdcom_lookup that
wcd937x component is empty during the call of VA_CDC_DMA_TX_0
dai-link .init .
-Put the call of API snd_soc_rtdcom_lookup to find wcd937x
component into RX_CDC_DMA_RX_0 .init .
Change-Id: Ic0565742e462a78cd4ac90fb9e1a788b2ed15ab7
Signed-off-by: Zun Qiao <quic_zqiao@quicinc.com>
Signed-off-by: Dechen Chai <quic_dchai@quicinc.com>
On multiple async unmap_cal calls there are
chances hlos releases the ion memory while
adsp is still under going the unmap process,
in such cases there could be smmu fault due
to dsp accessing memory region which is
already released by the hlos.
Fix this by making synchronous unmap calls to
adsp.
Change-Id: I88082e989884446546de846097ad7b031496830e
Signed-off-by: Sujin Panicker <quic_spanic@quicinc.com>
Fix for the avcs load module failure for ASM_MEDIA_FMT_APTX_ADAPTIVE
codec format as it uses incorrect AVS_MODULE_ID_DEPACKETIZER_COP_V2.
Added seperate condition and just call goto load_unload, so that it
uses AVS_MODULE_ID_DEPACKETIZER_COP_V1 assigned before.
Change-Id: I07176da41491cabdd3ad4df23b409d11b95a2764
Signed-off-by: Subhadra Jagadeesan <quic_c_subhja@quicinc.com>