This reverts commit 8553f349c0. With check
to enable/disable PDM WD, watchdog irq was never enabled. Thus remove the
check.
Change-Id: I6845b9aef5fe6c06afe2a2928b4071dd6c71ca00
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
Add proper routing for vi ch and cdc dma format widgets
when speaker protection is enabled.
Change-Id: I7d6643dc8737bf6de3c14843ab6994ac8ccaf831
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
sound card open failed for capture with 128 16-bit samples at 24 kHz
because min period size of cupture is set to 320.
Change-Id: Ida818ef133e6ac6e282c798559a753618b1d1e28
Signed-off-by: Deru Wang <deruwang@codeaurora.org>
Add extra goto label in order to free memory in case program
failed to acquire memory through callback_node. With the
original code, there might be a situation where the memory
acquired by client_info_node will not be freed, thus causing
possible memory leak.
Change-Id: If5c8a4bdfbed4ada57a7563e9e212dc9aa7caab0
Signed-off-by: Jinjuan Qiu <jinjqiu@codeaurora.org>
We need to make autogvm-gki-llvm-64 compile well for scan.
Change in gvmauto.conf is to fix compile issue by skipping some files.
Change in sa6155conf in to fix compile issue after move to techpack.
Change-Id: I9d30b0e3160dcf87d8d455e7e2a812f03537bcab
Signed-off-by: Hexuan Zhu <hexuzhu@codeaurora.org>
Pop noise is heard during speaker swap when screen
is rotated. This is because path is not muted before
swap. Mute path before applying swap and unmute afterwards
to resolve issue.
Change-Id: I235a75f92c451b95dae89671681628e500e3029a
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
Crash is happening in q6afe_get_avcs_modules in
APTX-Adaptive case. Check for format_id as
aptx_adaptive or lc3 to resolve crash.
Change-Id: I3e47bf38010a20df746455e35e316fa2103bc04a
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
To resolve sparse warnings due to kernel downstream changes,
we need to fix audio-kernel sparse warning.
Change-Id: I5ecd30f6fa818c0e290c61f6157246770ca47b74
Signed-off-by: Hexuan Zhu <hexuzhu@codeaurora.org>
Allow Low-Latency POPP and Legacy POPP connect to the same COPP
Allow Low-Latency POPP use spcical topology
Change-Id: I67365d8dd98eaebccd78a7e237891e85a518003b
Signed-off-by: Hongtao Peng <hongtaop@codeaurora.org>
There is mute in recorded sound when hpf cut off freq is
150hz as hpf is never gated for the same.
Gate hpf register in order to avoid mute.
Change-Id: Ic6bb6da529d78140a734675dae8c8b9f220e0054
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
Depending on efuse reg value, if fab id is enabled,
change resistor divider output to P12 for both hphl and hphr.
Change-Id: If5e0caac2648f6e0b8c089bb56883a442b5a8ecd
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
DAI IDs are updated for MI2S dai links to use separate
cpu dai IDs for Rx and Tx dais. Make respective changes in
the machine driver and dai link header files.
Change-Id: I9bb114f1dabb954720316dd7b0522c282361e4d5
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
Initialize temp_val before use in wsa881x_ocp_ctl_work.
Change-Id: Id4fcca78068896be1e7a8fa0d382ea903bd6934f
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
Change comment for enabling tanggu second source in init.
Change-Id: I4aa2dbd2b584d0c5ad19b676acb5188e4fd78491
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
Extend ec_ref port array to support PRI_TDM_RX_2/TERT_TDM_RX_0/SEC_TDM_TX_1 port.
Change-Id: Id4f5692a1dea64f2510bc650606ef0c155062858
Signed-off-by: Erin Yan <xinyey@codeaurora.org>
BCS is not enabled sometimes after inserting headset if
plug is already reported and we dont report it again.
Enable BCS if plug type already reported.
Change-Id: I8c9f15ced66a21bda169d3479da96168ebec26a7
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
MI2S capture fails on gki build as there are no separate
cpu dais for rx and tx. This is due to afe port start opening
rx port on capture. Add separate dais for mi2s rx and tx
to resolve issue.
Change-Id: I37cc1132039ee1525c4f16f8b10b0a9344989d75
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
buffer_node for cal_memory are maintained in asm
commont_client IN-port lists.
Current codes work fine for the pattern:
map, unmap, map, unmap, map, unmap...
But it fails at the second unmap in the cases:
map, map, map, unmap, unmap, unmap, since the
buffer address in the common_client has not been
updated and we are actually trying to unmap
the same buffer multi-times.
Change-Id: I51f442dc8063a55932f44b8b7f3c689029565f7b
Signed-off-by: Guodong Hu <guodhu@codeaurora.org>
On GVM, we need enable machine driver now for Gen3
and Gen4 in a image, which means we need detect dtb
file at run-time to register the soundcard of Gen3
and Gen4.
Change-Id: I9d8a5bb1f4c88616b90aea60d1bb5654b241d3d0
Signed-off-by: Deru Wang <deruwang@codeaurora.org>
BCS is not enabled for us headset as after 3sec loop
we directly switch to report headset and bcs is still disabled.
Enable bcs only after reporting valid plug to resolve issue.
Change-Id: I69bb71d20583fd2e2be921e9b657d9c44c047708
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
Due to datalane mismatch, update rx frame config to use DATA_LANE0 for
khaje qrd.
Change-Id: I0f5720ab1d7b7c585f7df986481c28568385f09d
Signed-off-by: Kunlei Zhang <kunleiz@codeaurora.org>