Add asm loopback channel to support dual hfp
Change-Id: I43265fd0da04a1481784e5ed3ed7b3a5bad9ac2c
Signed-off-by: Jia Jin <jinjia@codeaurora.org>
Signed-off-by: Han Lu <hanlu@codeaurora.org>
Different ADC modes need different clock rate. Update clock rate
based on the ADC mode.
Change-Id: Idaeda95a15e99038927de115727ece897bba7c29
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
currently in hab driver, it want to hold all bufs as dmabuf for fulture implement,
and it's hard to get dmabuf fd/handle from a kva, so hab need to generate a new
dmabuf for itself, and this will intruduce audio crash issue
in conclusion, for now hab just accept dma fd/handl as input in KHAB export path.
Change-Id: I11715ba966036f7c02b67d0bdae97eb6d7118d5c
Signed-off-by: Hui Li <hul@codeaurora.org>
Update regmap table with proper read write registers to
enable tx paths in a three mic usecase.
Change-Id: Iab53e3a92f02ddc282e621b8063f3c051fe658f6
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Adding changes for Bolero codec snd controls structure
to support TX HPF cut off frequency setting
Change-Id: Ia601d7b4bc6d80ff584b5bf6df47663080b2aa6f
Signed-off-by: Shalini Manjunatha <shalma@codeaurora.org>
Headset is not detected if devnum 0 gets detached at bootup.
This is because on detach being called hw will mask interrupt
at slave side but will not unmask it afterwards.
Also device 0 is used only for discovery purpose and
interrupt shouldnt be masked if it detaches.
Change-Id: I78d47243ef67ea5ee1fe3badaec94e596bc8faf3
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
In the existing code, Over Current Protection interrupt is enabled
as part of MBHC insertion event handling.
This is causing audio mute on Stereo Headset randomly.
This OCP through MBHC is no more required as the
Over Current/surge is handled in HW.
Removing the OCP enabling code to fix the issue.
CRs-Fixed: 2622368
Change-Id: Iae8994aa365eb294793190f665407af111b23c82
Signed-off-by: Ramlal Karra <rkarra@codeaurora.org>
Add change to use global lock to make synchronization
between SSR and native encoder decoder.
Change-Id: I6c1f48c32d4c8290de8bf3dfa86e022abe2b34bc
Signed-off-by: Saurav Kumar <sauravk@codeaurora.org>
Update boost level setting of value 5.5v and 6v
for 8815 and 8810 variants.
Change-Id: I6e71c58bddb4958f1eda4ab4d4630bcb6073dcdb
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
Add system sleep ops and invoke force runtime suspend for all
the macro drivers in bolero in order to synchronize
system suspend and runtime suspend callbacks.
Use freezable delayed work queues instead of normal
delayed workqueues in order to avoid contention with
pm suspend callflow.
Change-Id: Ibb0d35ad80c09e7f2a7032b4daef53c359056dfd
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
Check the audio client and apr before retrieving the
service_id and avoid the race condition b/w q6asm_session_free
and get_service_id calls with mutex lock.
Change-Id: I05c5fb872f866c79c909123b595df345da828967
Signed-off-by: Prasad Kumpatla <nkumpat@codeaurora.org>
Unmap and free DMA memory in case of ION SMMU
mapping failure from PVM backend or MMHAB.
Change-Id: I2d2780941ba6922534654afa463a011f27ef7c66
Signed-off-by: Derek Chen <chenche@codeaurora.org>
In set param for IIR sidetone in AFE, instance ID
assignment is done to param ID. Correct the assigment
to fix this.
Change-Id: I3fc6011631a6b581facddc9c417e219ed25cc3a4
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
When CPU buffer is not available, continuous error
log prints leads to excessive logging. Make the error
as debug log to avoid this.
Change-Id: Ic26006b4975fbe3d5467203d145a517c0067c296
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
-Register for the widgets and interconnections in routing
driver only when the respective interfaces are supported.
-Create a separate array for TDM BE dai links.
Change-Id: Ic1570ef432c76556aff8c592e12c879aed50e4ef
Signed-off-by: Harshal Ahire <hahire@codeaurora.org>
Update the sample interval of soundwire frame shape for quad mic
audio capture usecase.
Change-Id: Id45bc442eac982137d0a4e039925834e6bf42b61
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>