Add delay after LDO_RXTX supply is enabled as per
hardware register sequence.
Change-Id: I588d36c6c13ae8f545aba2b2cf6d1c73fde08d0a
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
For remove module(rmmod), update drivers
to cleanup resources and allow insert module
again without any issue.
Change-Id: Iddc6e5e11d986359afd3100bf3c5eab70cb1c1eb
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
Signed-off-by: Meng Wang <mwang@codeaurora.org>
Defer probe of soundcard registration until codec
driver registration is complete to fix detection of
codec version by machine driver.
Change-Id: Ia93404a85c98bd50e63015073284d5bf290a3f9f
Signed-off-by: Rohit kumar <rohitkr@codeaurora.org>
Soundwire slave logical device number is not updated properly for
all the devices. Because of this, slave devices are pointed to wrong
register regmap. Update logical device number properly for all the
slave devices.
Change-Id: Ic480585301d8e53500714bc136e23e95ac52b13c
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
Fix for compilation error when pdr is not enabled.
CRs-Fixed: 2165343
Change-Id: Ic192d481b2e387b8c970c68832c87846329fe72d
Signed-off-by: Soumya Managoli <smanag@codeaurora.org>
Observe mute issue when PDR triggered while music playback
on HPH. As per HW recommendation, ensure OCP is turned off
before PA enable/disable. During PA enablement, turn off OCP
to avoid false OCP interrupts.
CRs-Fixed: 2167007
Change-Id: I0dc2cc6ded3416b635d14dc3b7aafa7997fe9a4d
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
Add a missing function pointer null check condition in
mbhc driver to avoid null access during fast
insertion-removal.
Change-Id: I6aa64325cea6f7aa551115969d1e6ba184ec8d14
Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
Usage of q6asm_enc_cfg_blk_pcm() does not trigger PortSettingsChanged
event which is required for multi aac component.
Configure the PCM output block using q6asm_enc_cfg_blk_pcm_native()
which ensures that the event gets triggered.
CRs-Fixed: 2169255
Change-Id: I168aa0156c9233d81e99ca2aa6142f33ef10805c
Signed-off-by: Satya Krishna Pindiproli <satyak@codeaurora.org>
It is possible that the spi transfer that clears the clock request
on the slave may fail. In such case, it is not safe to assume that
the clock request is still enabled as it can cause failures for
further spi transfers if the clock request is cleared. Fix such
issues by resetting the clock state in the driver even the clock
request clearing fails.
CRs-Fixed: 2169087
Change-Id: I699e72b59b4cb049dfacaa190823796a545f2dbb
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
Currently IIR coefficient values are written to HW everytime when
digital core comes out of power collapse. This increases playback
cold start latency. So update IIR coefficient values before IIR
band enable.
Change-Id: I57ad54b4674ed0a49fdfc55d77c519568f5a7893
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
Add size check to make sure the data sizes from WDSP
ELF metadata and the split firmware ELF are the same.
Change-Id: I913087bc352850ceac2fcc07067ea8f480563ae2
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
Add size check to make sure the data sizes from WDSP
ELF metadata and the split firmware ELF are the same.
Change-Id: I7a1404cd15601d8d503e3355e6dc70e2949df72d
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
Change i2s max rate supported for tavil to 384000Hz.
Cleanup usage of intf_type to optimize differentiation
between slim and i2s.
Change-Id: If6451dae7c61e8f61be3d5a13549f98b382e5054
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
Add support for tavil i2c access. Add audio
routings dapm widgets for data and control.
Change-Id: I96ebf7a5700b10f294f4fadfeeb21dab490a9313
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
Add i2c driver node for tavil codec for
i2c communication with the codec.
Change-Id: Ie28dfeca102251265a5f50153c3ba98dae84dde2
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
Change mic bias enum names to be specific to codec
to avoid conflict with mbhc mic bias enum.
Change-Id: I7bae83aafd72753eaedebd533364ec404a54977a
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
The UAPI headers will be copied from the include/uapi directory.
Remove support to copy the header files from ipc location.
Change-Id: Ie7e92942e476fdfd16c0b0d226c40e90ae9da0c4
Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
Create a audio_kernel_headers target so that all audio UAPI
header files can be copied to the right target specific OUT
directory and make it easy for clients to mark dependency on
the header files.
Change-Id: I09ca422cbdd067e6e56fff13deaa4e92de3de1fc
Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
Add support for quinary mi2s/auxpcm/tdm for msmnile target.
Change-Id: I0cbfa98129e6181662f7555735173eded12a0bf7
Signed-off-by: Meng Wang <mwang@codeaurora.org>
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
Fix return value in aqt_codec_info_create_codec_entry function
to return proper value and add target config to include files
Change-Id: I063e199b1bf0e672b5afc20ed7de8447eed35dd4
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Add ALSA dailinks for supporting various audio/voice
use cases for msmnile target.
Change-Id: If300b2c94e72414a657f30691cdfcb0d0a3b9a13
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
Add stub function for msm pinctrl get function
when msm pinctrl configuration is not defined.
Change-Id: I5229dd804025e328471f0fd35cff33a69d47b2dd
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>