This reverts commit 40c749da4c.
This change needs a corresponding change in msm-4.19 which is
not yet ready. Revert this change for now, until the dependency
change is ready to be merged.
Change-Id: I7ac030b03c01500e6061dbc6e5b4ad13385a0109
Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
Fix mismatch in TX clock count during three mic VA usecase.
Change-Id: I5f86fc8bf4f379e14ed8e15376f918b622bc221f
Signed-off-by: Sudheer Papothi <spapothi@quicinc.com>
Remove the invocation of function dev_set_name from the driver
msm-transcode-loopback since it is not needed anymore.
Change-Id: If47a053ccec35b913b6cb2456bbfcec91933b0bf
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
MHI APIs have been updated to support LPM. Move to
newer API to make use of device LPM.
Change-Id: I53bd3dff1b66d064091f21eb5f2a36ee77f965ed
Signed-off-by: Vikram Panduranga <vpandura@codeaurora.org>
Add mixer control to set channel number for speaker protection.
Change-Id: I67527119a65758c77dbf9b1d26cc51f956702b5e
Signed-off-by: Meng Wang <mengw@codeaurora.org>
Add Tx mixer routes for Quaternary and Quinary MI2S
to support voice call over these interfaces.
CRs-Fixed: 2194204
Change-Id: I33b0c0528fbbfe8cf17ce3fe14dbf2230f05d860
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
Get Logical Address failure comes after SSR during rigorous testing.
This calls removal of swr master device attached. Once removal occurs
further headset insertion/removal does not get detected. Do not remove
swr master device attached to fix the issue.
Change-Id: Iac78b4a12ef296566d082e75ac8905f73d6b2a47
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
Fix errors shown during bootup to ensure robustness and enable
cleaner bootup process.
Change-Id: I6d705afc3dbed9ae34ab8473c6b4ae402f7a0df2
Signed-off-by: Bala Kishore Pati <balakishorepati@codeaurora.org>
Add mixer controls and port id for PRIMARY_TDM interface
to support source tracking with TDM mics.
CRs-Fixed: 2193330
Change-Id: I62fd250e0feb3fbc190fb63d1398fc3082506f47
Signed-off-by: Surendar karka <sukark@codeaurora.org>
NOIRQ platform driver registers volume controls for playback
with ALSA control module. Extend this for capture stream as well.
CRs-Fixed: 2222250
Change-Id: I04a3bfe0a8f44b5cb7b8f24d05cf6d72dabf1fd9
Signed-off-by: Haynes Mathew George <hgeorge@codeaurora.org>
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
While allocating lsm client, lock and conditions are initialized
after registering session with APR. There is a possibility of
accessing uninitialized condition from q6lsm_callback when SSR
is triggerred after the port specific apr is registered.
Initialized lock, condition and state before registering session
with APR to avoid invalid access.
CRs-Fixed: 2230065
Change-Id: I48b6eb7670863c45b0539155592ea0b0a3c1bffc
Signed-off-by: pavanc <pavanc@codeaurora.org>
On some platforms, WCD SPI bus can be shared with other processors
(ex: sensor processor). In such cases, there is need for software
to arbitrate the bus control. Add functionality to perform SPI bus
arbitration.
Change-Id: I7df933f55ac5035a55173a04e74b74f7af1f7ece
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
Add driver to perform WCD SPI bus arbitration between two
masters. The two masters could reside on two different
processors and QMI is used to arbitrate the bus access.
This driver also exposes character driver interface to
userspace to indicate use case start/stop, etc.
Change-Id: I4f6fe6bb0bca524f10a34cf89149c6b2055b00e1
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
If data size is not greater than required size
while getting topology in routing driver, it leads
to invalid size pointer access. Add proper
size check to avoid this.
CRs-Fixed: 2384972
Change-Id: I8cd71a4ae866aca57c6d711cfd07e20c5edee3ae
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
Support group tdm multi lane configuration for TDM interface.
With valid lane mask tdm interface support delivery audio channels
through different data lines.
Change-Id: I63e8ba1106b89c6bcaca0a8359a1def696c334ad
Signed-off-by: Cong Tang <congt@codeaurora.org>
Replace clock reference from wall clock to MONOTONIC.
This is to avoid getting impacted when system time is
set backwards or forwards (either through network or manually).
Change-Id: I98625b033f689002c9334633cf3944608d5a77d3
Signed-off-by: Md Mansoor Ahmed <mansoor@codeaurora.org>
Waitqueue head is not initialized at open stage. Future
action may wake up uninitialized wait. Initialize them
for compress capture.
Change-Id: I142202783aa9b7b9334c1a9632a89cd1ba7f5005
Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
AFE callback payload response for param id FFV_DOA_TRACKING_MONITOR
is not handled properly. This is resulting in 2sec
of wait event timeout delay. Updating the state event and
status event based on the payload response. This decreases
hal load time by 2sec.
Change-Id: If960ee14e264b3fe444463b47878d29aaee5e63f
Signed-off-by: Surendar Karka <skarka@codeaurora.org>
During SSR avoid printing some errors which could lead
to excessive logging.
Change-Id: I5f9e7e5f32bc3de87996838048514e16d59c97a6
Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
Glink may receive ssr reset event before audio has received.
Handle the ssr return code from glink as ssr reset event
at apr.
Change-Id: I62058ad56bece93cac52f26446e9c780cba3c633
Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
Avoid float operation during excursion calculation
since that impacts CPU performance. Maintain the
same precision for 2 digit as per requirement
for final value to print in sys/class node.
Change-Id: I34d0f2e7b9eca499206ee9d30acf0d9121b0442e
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>