Add mixer control for LPI enable flag. The listener
should only be registered for LPI SVA session.
Change-Id: I01e4b0868e3333e1fc60f86444b1cf1c77e25cb7
Signed-off-by: Meng Wang <mengw@codeaurora.org>
Synchronize afe apr send pkt commands to avoid the state
variable modification for multiple commands sent in
parallel. Use the common interface afe_apr_send_pkt
to send the apr pkt.
Change-Id: I17a573a28e227cce882c3330887ae2756ca4addb
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
Update the clock sequence for native audio playback to avoid
any distortion or change in gain during native audio playback
usecase.
Change-Id: Ia9aaa63f3e476b49a07d49b794f4120ed55bac47
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
For loopback of CDC_DMA_RX_1 port to slim_8_tx,
add proper switch control.
Change-Id: I58353c8cc43ac96d39a810b8e471458111f57319
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
Add routing control for Multimedia17 with Slim7 TX.
Change-Id: I6d21f2a5e2a1923c64d82726e951c2c5bd40eabc
Signed-off-by: Harshal Ahire <hahire@codeaurora.org>
There's a corner case where there're pause and resume operations in the
middle of last full buffer drain. Waking up drain without checking
against the real byte available violates the assumption only one
partial buffer in the last write.
The solution is to just resume the write pipe if there's more than one
fragment pending.
CRs-Fixed: 2536883
Change-Id: Id24c63bad774ec916942b8f94ddaa396d2560517
Signed-off-by: Weiyin Jiang <wjiang@codeaurora.org>
Set pinctrl only if available for respective TDM
or MI2S interface on auto machine driver.
Change-Id: I2b9a43f4958a6ad9ed086a77a65cb6dc67cc36a3
Signed-off-by: Derek Chen <chenche@codeaurora.org>
Update change for audio playback and record to work
on bengal target with wcd937x codec.
Change-Id: I2f781e2132b018995f30f4192efd08732196cd28
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
Currently q6lsm driver only allows buffer to be allocated for
SVA sound model with size larger than 512 byte in function
q6lsm_snd_model_buf_alloc.This causes issue when a valid SVA
sound model is smaller than 512 byte. Since there is no
restriction in ADSP for sound model size, remove this size
checking to allow sound models with smaller size.
Change-Id: I716dc8c0e1a4e3189cd334ef692ff07f3e4635db
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
nvmem_cell_read() return no of bytes read in 'len' variable and
allocates similiar bytes of memory for buffer. Copy only these
number of bytes from buf to avoid out of bounds issues.
Change-Id: I712e5058d15deba939b6a743fcf5bff33ac51f84
Signed-off-by: Ajit Pandey <ajitp@codeaurora.org>
Update PCM ID with correct values in comments.
Change-Id: Ie456481aa57f0adebb20921d8d0f0d25c7b714e0
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>