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>
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>
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>
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>
clk_div starts with index 0.
Incorrect check for return value of
clk_div_get is causing CLK_DIV2 setting
being missed. Change is to correct the same.
Change-Id: If0475cee5b1d5a9e0184e90f6046c389cd9122a9
Signed-off-by: Shashi Kant Maurya <smaury@codeaurora.org>
Allow the number of ec reference channel is 0, in capture case.
Change-Id: If2c10a1f885d51a5f99ef4641027fcfbb8fccebc
Signed-off-by: Hongtao Peng <hongtaop@codeaurora.org>
wakeup_source_init and wakeup_source_trash are removed in new kernel.
Update the two APIs to wakeup_source_register and wakeup_source_unregister.
Change-Id: I1e0b6e856dc2636032da68bf0e3d2be215d3ae8e
Signed-off-by: Dechen Chai <dchai@codeaurora.org>
Update for qrbx210 build and update for LE build.
Change-Id: I13020267c62aa716e25f1ccd235d0a73ec5f05d0
Signed-off-by: Dechen Chai <dchai@codeaurora.org>
Increase the max BE DAI index supported to accommodate
SEP & HSIF BE DAI TDM interface added
Suggested-by: Karthik D K
Change-Id: Icb8df001ffa766212bc7f660d18307353ff82e59
Signed-off-by: Narsinga Rao Chella <nrchella@codeaurora.org>