Initialize temp_val before use in wsa881x_ocp_ctl_work.
Change-Id: Id4fcca78068896be1e7a8fa0d382ea903bd6934f
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>
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>
Disable mclk2 by default. Can enable it with kcontrol
command if needed.
Change-Id: I58af41277f87c135878e419f4a2e6ab4bdf76652
Signed-off-by: Deru Wang <deruwang@codeaurora.org>
With above extended mixer commands, bit width can be achieved
from fe_dai_app_type_cfg by FE, BE and session type.
Change-Id: I09596ac27b4327a94139b9da0e04befac45c3f30
Signed-off-by: Hongtao Peng <hongtaop@codeaurora.org>
Use spin_unlock_irqrestore while unlocking mutex being locked
with spin_lock_irqsave to prevent spinlock corruption.
Change-Id: I47def0516348de7caf07134167f4962bf87bcc08
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
Bolero_register_macro can be called simultaneously by different
macros as bootup resulting in inconsistent value of
num_macros_registered. This will result in one of macro going ahead and
registering bolero component and other macro failing to register which
will cause probe of other macro to fail. Protect function with mutex lock
so that macros access it sequentially.
Change-Id: Idd0110d8b0bcfdcbf9f03c293c4cdba82e0a8827
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>